diff --git a/peer/peer.go b/peer/peer.go index 8dabb3a8c..f768db902 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -34,7 +34,7 @@ func (id ID) Loggable() map[string]interface{} { // IDs safely. Then any peer.ID type found in the // codebase is known to be correct. func (id ID) String() string { - pid := string(id) + pid := id.Pretty() maxRunes := 6 if len(pid) < maxRunes { maxRunes = len(pid)