Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #77 from libp2p/use-peer-decode
Browse files Browse the repository at this point in the history
fix usage of deprecated peer.IDB58Decode
  • Loading branch information
marten-seemann authored Mar 30, 2021
2 parents 88d17c5 + f38c2da commit 7f6bf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tlsdiag/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func StartClient() error {
return err
}

peerID, err := peer.IDB58Decode(*peerIDString)
peerID, err := peer.Decode(*peerIDString)
if err != nil {
return err
}
Expand Down

0 comments on commit 7f6bf87

Please sign in to comment.