mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 01:33:20 +02:00
Update test_framework/psbt.py for PSBTv2
This commit is contained in:
@@ -66,8 +66,8 @@ def signet_txs(block, challenge):
|
||||
def decode_challenge_psbt(b64psbt):
|
||||
psbt = PSBT.from_base64(b64psbt)
|
||||
|
||||
assert len(psbt.tx.vin) == 1
|
||||
assert len(psbt.tx.vout) == 1
|
||||
assert len(psbt.i) == 1
|
||||
assert len(psbt.o) == 1
|
||||
assert PSBT_SIGNET_BLOCK in psbt.g.map
|
||||
return psbt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user