From d11381dc4f7e281792e8658c23a1895e084c0263 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 25 Dec 2018 03:53:20 -0500 Subject: [PATCH] options. Pretty much everything but saving and serving, really. Also defaults I think. --- conn/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }