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/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) } 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" }