aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_migration.py
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-11-10 12:04:07 -0500
committerRyan Ofsky <ryan@ofsky.org>2023-05-03 11:27:51 -0500
commit95d7de0964620a3f7386a4adc5707559868abf84 (patch)
treed995e6ea2755fa782b40c72a3974f3d2eb58cb5e /test/functional/wallet_migration.py
parent96233146dd31c1d99fd1619be4449944623ef750 (diff)
downloadbitcoin-95d7de0964620a3f7386a4adc5707559868abf84.tar.xz
test: Update python tests to use named parameters instead of options objects
Diffstat (limited to 'test/functional/wallet_migration.py')
-rwxr-xr-xtest/functional/wallet_migration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_migration.py b/test/functional/wallet_migration.py
index 7c2959bb89..d9d4d54229 100755
--- a/test/functional/wallet_migration.py
+++ b/test/functional/wallet_migration.py
@@ -281,7 +281,7 @@ class WalletMigrationTest(BitcoinTestFramework):
imports0.importaddress(import_sent_addr)
received_sent_watchonly_txid = default.sendtoaddress(import_sent_addr, 10)
received_sent_watchonly_vout = find_vout_for_address(self.nodes[0], received_sent_watchonly_txid, import_sent_addr)
- send = default.sendall(recipients=[default.getnewaddress()], options={"inputs": [{"txid": received_sent_watchonly_txid, "vout": received_sent_watchonly_vout}]})
+ send = default.sendall(recipients=[default.getnewaddress()], inputs=[{"txid": received_sent_watchonly_txid, "vout": received_sent_watchonly_vout}])
sent_watchonly_txid = send["txid"]
self.generate(self.nodes[0], 1)