fix accidental find and replace fail
This commit is contained in:
parent
c9ef94cc04
commit
90a6977bd9
|
@ -41,7 +41,7 @@ func (id ID) String() string {
|
||||||
|
|
||||||
//All sha256 nodes start with Qm
|
//All sha256 nodes start with Qm
|
||||||
//We can skip the Qm to make the peer.ID more useful
|
//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:]
|
pid = pid[2:]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue