diff --git a/p2p/peer/peer.go b/p2p/peer/peer.go index dc529cf3..41126dce 100644 --- a/p2p/peer/peer.go +++ b/p2p/peer/peer.go @@ -41,7 +41,7 @@ func (id ID) String() string { //All sha256 nodes start with Qm //We can skip the Qm to make the peer.ID more useful - if strings.HasPrefix(pid, "gx/Qm") { + if strings.HasPrefix(pid, "Qm") { pid = pid[2:] }