swarm peers print pid.Pretty
Juan Batiz-Benet committed
Jan 6, 2015 at 10:13 UTC
64bf493b541294bbf60eeb30312043b258575e5b
1 file changed
+1
-1
core/commands/swarm.go
+1
-1
@@ -60,7 +60,7 @@ ipfs swarm peers lists the set of peers this node is connected to.
60
for i, c := range conns {
61
pid := c.RemotePeer()
62
addr := c.RemoteMultiaddr()
63
- addrs[i] = fmt.Sprintf("%s/%s", addr, pid)
63
+ addrs[i] = fmt.Sprintf("%s/%s", addr, pid.Pretty())
64
}
65
66
return &stringList{addrs}, nil