options. Pretty much everything but saving and serving, really. Also defaults I think.

This commit is contained in:
idk 2018-12-25 03:53:20 -05:00
parent 55a78dce12
commit d11381dc4f
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.path = path + c.I2PKeys.Addr().Base32() + ".i2pkeys"
c.SaveKeys() c.SaveKeys()
c.StreamSession, err = sam.NewStreamSession(c.I2PKeys.Addr().Base32()[0:10], c.I2PKeys, sam3.Options_Small) c.StreamSession, err = sam.NewStreamSession(c.I2PKeys.Addr().Base32()[0:10], c.I2PKeys, opts)
if err != nil { if err != nil {
return nil, err return nil, err
} }