test: cover testnet4 magic in assumeutxo.py

Replace testnet3 and use MAGIC_BYTES constants.
This commit is contained in:
Sjors Provoost
2025-03-25 09:47:47 +01:00
parent 4281e3603a
commit 8cfc09fafe
2 changed files with 11 additions and 9 deletions

View File

@@ -80,6 +80,7 @@ DEFAULT_MEMPOOL_EXPIRY_HOURS = 336 # hours
MAGIC_BYTES = {
"mainnet": b"\xf9\xbe\xb4\xd9", # mainnet
"testnet3": b"\x0b\x11\x09\x07", # testnet3
"testnet4": b"\x1c\x16\x3f\x28", # testnet4
"regtest": b"\xfa\xbf\xb5\xda", # regtest
"signet": b"\x0a\x03\xcf\x40", # signet
}