aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_multisig_descriptor_psbt.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_multisig_descriptor_psbt.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_multisig_descriptor_psbt.py')
-rwxr-xr-xtest/functional/wallet_multisig_descriptor_psbt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_multisig_descriptor_psbt.py b/test/functional/wallet_multisig_descriptor_psbt.py
index 12069fb00d..28bee1911e 100755
--- a/test/functional/wallet_multisig_descriptor_psbt.py
+++ b/test/functional/wallet_multisig_descriptor_psbt.py
@@ -121,7 +121,7 @@ class WalletMultisigDescriptorPSBTTest(BitcoinTestFramework):
to = participants["signers"][self.N - 1].getnewaddress()
value = 1
self.log.info("First, make a sending transaction, created using `walletcreatefundedpsbt` (anyone can initiate this)...")
- psbt = participants["multisigs"][0].walletcreatefundedpsbt(inputs=[], outputs={to: value}, options={"feeRate": 0.00010})
+ psbt = participants["multisigs"][0].walletcreatefundedpsbt(inputs=[], outputs={to: value}, feeRate=0.00010)
psbts = []
self.log.info("Now at least M users check the psbt with decodepsbt and (if OK) signs it with walletprocesspsbt...")
@@ -143,7 +143,7 @@ class WalletMultisigDescriptorPSBTTest(BitcoinTestFramework):
assert_equal(participants["signers"][self.N - 1].getbalance(), value)
self.log.info("Send another transaction from the multisig, this time with a daisy chained signing flow (one after another in series)!")
- psbt = participants["multisigs"][0].walletcreatefundedpsbt(inputs=[], outputs={to: value}, options={"feeRate": 0.00010})
+ psbt = participants["multisigs"][0].walletcreatefundedpsbt(inputs=[], outputs={to: value}, feeRate=0.00010)
for m in range(self.M):
signers_multisig = participants["multisigs"][m]
self._check_psbt(psbt["psbt"], to, value, signers_multisig)