Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
fix accidental find and replace fail
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Mar 30, 2016
1 parent e0edada commit 630728c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:]
}

Expand Down

0 comments on commit 630728c

Please sign in to comment.