mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
add 2 more instances of formatting violations
This commit is contained in:
@ -56,7 +56,7 @@ class ID:
|
||||
return self._b58_str
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"<libp2p.peer.id.ID ({self.to_string()})>"
|
||||
return f"<libp2p.peer.id.ID ({self!s})>"
|
||||
|
||||
__str__ = pretty = to_string = to_base58
|
||||
|
||||
|
||||
Reference in New Issue
Block a user