improve closeup

This commit is contained in:
idk 2018-12-25 03:42:56 -05:00
parent beca8fff5a
commit 226d7ca893
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1

View file

@ -50,7 +50,7 @@ func NewConn(sam *sam3.SAM, addr, path string, opts []string) (*Conn, error) {
}
c.path = path + c.I2PKeys.Addr().Base32() + ".i2pkeys"
c.SaveKeys()
c.StreamSession, err = sam.NewStreamSession("stream_example", c.I2PKeys, sam3.Options_Small)
c.StreamSession, err = sam.NewStreamSession(c.I2PKeys.Addr().Base32()[0:10], c.I2PKeys, sam3.Options_Small)
if err != nil {
return nil, err
}