From 9b405899ab55539c93f9918d27a4dc95397ea2ff Mon Sep 17 00:00:00 2001 From: vyzo Date: Sat, 29 Jul 2017 10:42:25 +0300 Subject: [PATCH 1/2] connection RemoteMultiaddr returns partial relay address for consistency --- conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn.go b/conn.go index 35043e5..51693df 100644 --- a/conn.go +++ b/conn.go @@ -43,7 +43,7 @@ func (c *Conn) RemoteAddr() net.Addr { } func (c *Conn) RemoteMultiaddr() ma.Multiaddr { - a, err := ma.NewMultiaddr(fmt.Sprintf("/ipfs/%s/p2p-circuit/ipfs/%s", c.Conn().RemotePeer().Pretty(), c.remote.ID.Pretty())) + a, err := ma.NewMultiaddr(fmt.Sprintf("/ipfs/%s/p2p-circuit", c.Conn().RemotePeer().Pretty())) if err != nil { panic(err) } From 12096120cefbc78525dc9f4751943cedbd14e416 Mon Sep 17 00:00:00 2001 From: vyzo Date: Sat, 29 Jul 2017 10:43:32 +0300 Subject: [PATCH 2/2] gx pubish 1.1.2 --- .gx/lastpubver | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gx/lastpubver b/.gx/lastpubver index f671894..4189304 100644 --- a/.gx/lastpubver +++ b/.gx/lastpubver @@ -1 +1 @@ -1.1.1: QmVEPsD9h95ToAC7NJpYopFcXyjVJm35xV4tw43J5JdCnL +1.1.2: QmbqVLSFKrwKKBJeea2P47t68Na2of25scTMrbzJUqJBWQ diff --git a/package.json b/package.json index 769e9f3..8518c41 100644 --- a/package.json +++ b/package.json @@ -114,5 +114,5 @@ "license": "MIT", "name": "go-libp2p-circuit", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", - "version": "1.1.1" + "version": "1.1.2" }