Use 'ECDSA Signature' on __repr___

pull/157/head
tuxxy 2018-02-09 11:04:44 -07:00
parent 61eb1a11f4
commit 1cafba8e34
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class Signature(bytes):
self.sig_as_bytes = sig_as_bytes
def __repr__(self):
return "{}".format(sig_as_bytes.decode())
return "ECDSA Signature: {}".format(sig_as_bytes.decode())
def verify(self, message: bytes, pubkey: UmbralPublicKey) -> bool:
"""