diff --git a/two1/bitcoin/crypto.py b/two1/bitcoin/crypto.py index 215e1f50..e03cd253 100644 --- a/two1/bitcoin/crypto.py +++ b/two1/bitcoin/crypto.py @@ -1476,7 +1476,7 @@ def identifier(self): return self.public_key.hash160() def __int__(self): - return int(self.key) + return int(self._key) class HDPublicKey(HDKey, PublicKeyBase):