Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: merge bitcoin#23106, #22067, #23303, #23403, #22513, #17034, #23718, partial bitcoin#21330, #21365, #22514 (psbt backports) #6503

Merged
merged 12 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge bitcoin#23303: Fix wallet_multisig_descriptor_psbt.py
  • Loading branch information
kwvg committed Dec 21, 2024
commit ba85b4c623590fd3fde306e695e6e298144df51a
8 changes: 4 additions & 4 deletions test/functional/wallet_multisig_descriptor_psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ def run_test(self):

self.log.info("Get a mature utxo to send to the multisig...")
coordinator_wallet = participants["signers"][0]
coordinator_wallet.generatetoaddress(101, coordinator_wallet.getnewaddress())
self.generatetoaddress(self.nodes[0], 101, coordinator_wallet.getnewaddress())

deposit_amount = 6.15
multisig_receiving_address = participants["multisigs"][0].getnewaddress()
self.log.info("Send funds to the resulting multisig receiving address...")
coordinator_wallet.sendtoaddress(multisig_receiving_address, deposit_amount)
self.nodes[0].generate(1)
self.generate(self.nodes[0], 1)
self.sync_all()
for participant in participants["multisigs"]:
assert_approx(participant.getbalance(), deposit_amount, vspan=0.001)
Expand All @@ -136,7 +136,7 @@ def run_test(self):
coordinator_wallet.sendrawtransaction(finalized["hex"])

self.log.info("Check that balances are correct after the transaction has been included in a block.")
self.nodes[0].generate(1)
self.generate(self.nodes[0], 1)
self.sync_all()
assert_approx(participants["multisigs"][0].getbalance(), deposit_amount - value, vspan=0.001)
assert_equal(participants["signers"][self.N - 1].getbalance(), value)
Expand All @@ -153,7 +153,7 @@ def run_test(self):
coordinator_wallet.sendrawtransaction(finalized["hex"])

self.log.info("Check that balances are correct after the transaction has been included in a block.")
self.nodes[0].generate(1)
self.generate(self.nodes[0], 1)
self.sync_all()
assert_approx(participants["multisigs"][0].getbalance(), deposit_amount - (value * 2), vspan=0.001)
assert_equal(participants["signers"][self.N - 1].getbalance(), value * 2)
Expand Down