This commit is contained in:
idk 2018-12-25 07:20:48 -05:00
parent f7be148d18
commit 9dc3e72408
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1

View file

@ -91,7 +91,8 @@ func NewConn(sam *sam3.SAM, addr, path string, opts []string) (*Conn, error) {
var err error
c.SAM = sam
c.path = path
c.name = addr + ".i2pkeys"
t32, err := sam3.NewI2PAddrFromString(addr)
c.name = t32.Base32() + ".i2pkeys"
c.I2PKeys, err = c.Keys()
if err != nil {
return nil, err