diff --git a/libp2p/peer/id.py b/libp2p/peer/id.py index 47d7cf5..a46c462 100644 --- a/libp2p/peer/id.py +++ b/libp2p/peer/id.py @@ -27,9 +27,7 @@ class ID: def __str__(self): pid = self.pretty() - if len(pid) <= 10: - return "" % pid - return "" % (pid[:2], pid[len(pid)-6:]) + return "" % pid __repr__ = __str__