Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Commit

Permalink
Preserving style
Browse files Browse the repository at this point in the history
  • Loading branch information
madacol authored Nov 12, 2018
1 parent b0cb5ed commit 592f253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btcrecover/btcrseed.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _addresses_to_hash160s(addresses):
hash160s = set()
for address in addresses:
hash160, version_byte = base58check_to_hash160(address)
if version_byte!=P2PKH_VERSION_BYTE and version_byte!=P2SH_VERSION_BYTE:
if version_byte != P2PKH_VERSION_BYTE and version_byte != P2SH_VERSION_BYTE:
raise ValueError("not a Bitcoin P2PKH or P2SH address; version byte is {:#04x}".format(ord(version_byte)))
hash160s.add( (hash160, version_byte) )
return hash160s
Expand Down

0 comments on commit 592f253

Please sign in to comment.