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

View File

@@ -193,9 +193,7 @@ def address_to_scriptpubkey(address):
return keyhash_to_p2pkh_script(payload) return keyhash_to_p2pkh_script(payload)
elif version == 196: # testnet script hash elif version == 196: # testnet script hash
return scripthash_to_p2sh_script(payload) return scripthash_to_p2sh_script(payload)
# TODO: also support other address formats raise ValueError(f"Unsupported address type: {address}")
else:
assert False
class TestFrameworkScript(unittest.TestCase): class TestFrameworkScript(unittest.TestCase):