Пример #1
0
 def fingerprint(self):
     return hashes.hash160(self.descriptor.replace("/_", ""))[:4]
Пример #2
0
 def fingerprint(self):
     """Fingerprint of the wallet - hash160(descriptor)"""
     return hashes.hash160(str(self.descriptor))[:4]