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

Set complete=false in redeemmultisigout on invalid sigs #2274

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

jrick
Copy link
Member

@jrick jrick commented Jul 26, 2023

If the raw transaction provided by the caller contains invalid signatures, set complete=false to indicate that the transaction is not ready to send.

This situation (where the user has manually modified the transaction after a previous redeemmultisigout call, which may add some of the required signatures) is unfortunate and there are possibly better ways we could deal with this, such as removing the invalid signature, or returning a more descriptive error for the failed script evaluation.

Refs #2273

If the raw transaction provided by the caller contains invalid signatures, set
complete=false to indicate that the transaction is not ready to send.

This situation (where the user has manually modified the transaction after a
previous redeemmultisigout call, which may add some of the required
signatures) is unfortunate and there are possibly better ways we could deal
with this, such as removing the invalid signature, or returning a more
descriptive error for the failed script evaluation.
@jrick jrick merged commit 0a63be6 into decred:master Nov 10, 2023
2 checks passed
@jrick jrick deleted the redeemmultisig-invalidsig branch November 10, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants