test: Remove fixed TODO in address_to_scriptpubkey

This commit is contained in:
MarcoFalke 2026-03-10 08:48:09 +01:00
parent 7e91060ec7
commit fa0587a306
No known key found for this signature in database

View File

@ -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):