From 226d7ca8932ece8b05a5c02541d0a09a37f7f7b9 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 25 Dec 2018 03:42:56 -0500 Subject: [PATCH] improve closeup --- conn/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn/conn.go b/conn/conn.go index 1eae432..04e6920 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("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 }