Skip to content

Commit

Permalink
fix usage of deprecated peer.IDB58Decode
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Mar 30, 2021
1 parent 14a65b8 commit aaa62b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/security/tls/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 aaa62b9

Please sign in to comment.