HomePhabricator

Clear any input_errors for an input after it is signed

Description

Clear any input_errors for an input after it is signed

Summary:
Make sure that there are no errors set for an input after it is signed.
This is useful for when there are multiple ScriptPubKeyMans. Some may
fail to sign, but one may be able to sign, and after it does, we don't
want there to be any more errors there.

Backport of Core PR18115 part [9/9] : https://github.com/bitcoin/bitcoin/pull/18115/commits/d2774c09cfcc6c5c967d40bb094eabc8c0bdb6bf

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D8103

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Feb 12 2020, 00:24
deadalnixCommitted on Oct 25 2020, 00:35
deadalnixPushed on Oct 25 2020, 00:35
Reviewer
Restricted Project
Differential Revision
D8103: Clear any input_errors for an input after it is signed
Parents
rABCc6f37464e379: rpc: set default bip32derivs to true for psbt methods
Branches
Unknown
Tags
Unknown