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

wallet: fix wallet Redistribute when outputs is larger than batchsize #170

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

ChrisSchinnerl
Copy link
Member

This PR extends the tests we have to make sure we verify a redistribution of outputs that requires more than a single transaction.

Atm that doesn't work since multiple batches will reuse the same inputs, creating an invalid txn set in the process. Also signing a set that is the result of a v1 redistribution doesn't work because SignTransaction will add redundant signatures to txns.

This PR fixes both of these issues.

Closes #169

@n8maninger n8maninger force-pushed the chris/fix-redistribute-batch branch from bb3e685 to 2574e78 Compare February 10, 2025 22:20
@n8maninger n8maninger merged commit 6584868 into master Feb 10, 2025
8 checks passed
@n8maninger n8maninger deleted the chris/fix-redistribute-batch branch February 10, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Undesired behavior of Redistribute and RedistributeV2
3 participants