aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_txoutproof.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-11-15 13:19:58 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-11-15 13:10:37 +0100
commitfa62207737657e76ba45d5bf826fc0ccac658df6 (patch)
tree3c1bcfd1d7f5e9cd597dc1ffedffad05c582b6fe /test/functional/rpc_txoutproof.py
parent41a1b5f58ca59d2177dcadf834efd187fa3fba52 (diff)
downloadbitcoin-fa62207737657e76ba45d5bf826fc0ccac658df6.tar.xz
test: Return the largest utxo in MiniWallet.get_utxo
Diffstat (limited to 'test/functional/rpc_txoutproof.py')
-rwxr-xr-xtest/functional/rpc_txoutproof.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_txoutproof.py b/test/functional/rpc_txoutproof.py
index 3cb11b4c18..2aa3301b89 100755
--- a/test/functional/rpc_txoutproof.py
+++ b/test/functional/rpc_txoutproof.py
@@ -53,7 +53,7 @@ class MerkleBlockTest(BitcoinTestFramework):
assert_equal(self.nodes[0].verifytxoutproof(self.nodes[0].gettxoutproof([txid1, txid2])), txlist)
assert_equal(self.nodes[0].verifytxoutproof(self.nodes[0].gettxoutproof([txid1, txid2], blockhash)), txlist)
- txin_spent = miniwallet.get_utxo() # Get the change from txid2
+ txin_spent = miniwallet.get_utxo(txid=txid2) # Get the change from txid2
tx3 = miniwallet.send_self_transfer(from_node=self.nodes[0], utxo_to_spend=txin_spent)
txid3 = tx3['txid']
self.generate(self.nodes[0], 1)