diff --git a/duniterpy/documents/crc_pubkey.py b/duniterpy/documents/crc_pubkey.py index 3fd2c37148ed9db92fdcbe0e306853465311eaca..ae665d5883fd16c8190f5be72f9ae92bf0e93c36 100644 --- a/duniterpy/documents/crc_pubkey.py +++ b/duniterpy/documents/crc_pubkey.py @@ -38,3 +38,6 @@ class CRCPubkey: def is_valid(self): return CRCPubkey.from_pubkey(self.pubkey).crc == self.crc + + def __str__(self): + return "{:}:{:}".format(self.pubkey, self.crc) \ No newline at end of file