Skip to content

Commit

Permalink
test: fix failing test interface_usdt_utxocache.py
Browse files Browse the repository at this point in the history
The `from_node` argument doesn't exist anymore for
`MiniWallet.create_self_transfer` since PR bitcoin#25435 (commit
fa8421b).
  • Loading branch information
theStack committed Jun 27, 2022
1 parent 2111f32 commit f665c6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/interface_usdt_utxocache.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def test_uncache(self):

# Create a transaction and invalidate it by changing the txid of the previous
# output to the coinbase txid of the block at height 1.
invalid_tx = self.wallet.create_self_transfer(
from_node=self.nodes[0])["tx"]
invalid_tx = self.wallet.create_self_transfer()["tx"]
invalid_tx.vin[0].prevout.hash = int(block_1_coinbase_txid, 16)

self.log.info("hooking into the utxocache:uncache tracepoint")
Expand Down

0 comments on commit f665c6e

Please sign in to comment.