diff --git a/conn/conn.go b/conn/conn.go index 04ae38a..c1f04b8 100644 --- a/conn/conn.go +++ b/conn/conn.go @@ -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(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 { return nil, err }