fix len
This commit is contained in:
parent
f7be148d18
commit
9dc3e72408
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue