mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 08:22:46 +00:00
test: Remove fixed TODO in address_to_scriptpubkey
This commit is contained in:
parent
7e91060ec7
commit
fa0587a306
@ -193,9 +193,7 @@ def address_to_scriptpubkey(address):
|
||||
return keyhash_to_p2pkh_script(payload)
|
||||
elif version == 196: # testnet script hash
|
||||
return scripthash_to_p2sh_script(payload)
|
||||
# TODO: also support other address formats
|
||||
else:
|
||||
assert False
|
||||
raise ValueError(f"Unsupported address type: {address}")
|
||||
|
||||
|
||||
class TestFrameworkScript(unittest.TestCase):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user