diff --git a/hdwallet/hdwallet.py b/hdwallet/hdwallet.py index 96f4da9..501ac6a 100644 --- a/hdwallet/hdwallet.py +++ b/hdwallet/hdwallet.py @@ -879,7 +879,7 @@ def private_key_base58check(self) -> str: return base58.b58encode_check( _unhexlify(self._cryptocurrency.PRIVATE_KEY_ADDRESS) + unhexlify(self.private_key()) - ).decode() + ).decode() if self.private_key() s not None else None def base58check_address(self) -> str: return self.public_key_base58check()