diff --git a/test/functional/abc_p2p_proof_inventory.py b/test/functional/abc_p2p_proof_inventory.py --- a/test/functional/abc_p2p_proof_inventory.py +++ b/test/functional/abc_p2p_proof_inventory.py @@ -307,7 +307,7 @@ raw_tx = node.createrawtransaction( inputs=[{ # coinbase - "txid": uint256_hex(utxo.hash), + "txid": uint256_hex(utxo.txid), "vout": utxo.n }], outputs={ADDRESS_ECREG_UNSPENDABLE: 25_000_000 - 250.00}, diff --git a/test/functional/data/invalid_txs.py b/test/functional/data/invalid_txs.py --- a/test/functional/data/invalid_txs.py +++ b/test/functional/data/invalid_txs.py @@ -152,7 +152,7 @@ def get_tx(self): tx = CTransaction() tx.vin.append(self.valid_txin) - tx.vin.append(CTxIn(COutPoint(hash=0, n=0xffffffff))) + tx.vin.append(CTxIn(COutPoint(txid=0, n=0xffffffff))) tx.vout.append(CTxOut(1, basic_p2sh)) tx.calc_sha256() return tx diff --git a/test/functional/feature_utxo_set_hash.py b/test/functional/feature_utxo_set_hash.py --- a/test/functional/feature_utxo_set_hash.py +++ b/test/functional/feature_utxo_set_hash.py @@ -69,7 +69,7 @@ for tx in block.vtx: for n, tx_out in enumerate(tx.vout): - coinbase = 1 if not tx.vin[0].prevout.hash else 0 + coinbase = 1 if not tx.vin[0].prevout.txid else 0 data = COutPoint(int(tx.rehash(), 16), n).serialize() data += struct.pack("