diff --git a/squeaknode/core/peer_address.py b/squeaknode/core/peer_address.py index 4cbf3b74..2635c3e6 100644 --- a/squeaknode/core/peer_address.py +++ b/squeaknode/core/peer_address.py @@ -31,6 +31,9 @@ class Network(Enum): I2P = b'\x05' CJDNS = b'\x06' + def __repr__(self): + return str(self) + class PeerAddress(NamedTuple): """Class for representing a remote peer address."""