HomePhabricator

[backport#14690] Throw error if CPubKey is invalid during PSBT keypath…

Description

[backport#14690] Throw error if CPubKey is invalid during PSBT keypath serialization

Summary:
Related to #14689

We should catch this error before attempting to deserialize it later.


Depends on D6029

This is a backport of Core PR14690

Test Plan:

cmake .. -GNinja -DENABLE_WERROR=ON
ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Gregory Sanders <gsanders87@gmail.com>Authored on Nov 8 2018, 15:33
majcostaCommitted on May 11 2020, 16:58
abc-botPushed on May 11 2020, 17:00
Reviewer
Restricted Project
Differential Revision
D6030: [backport#14690] Throw error if CPubKey is invalid during PSBT keypath serialization
Parents
rSTAGING80241e1f4a65: [backport#14689] Require a public key to be retrieved when signing a P2PKH input
Branches
Unknown
Tags
Unknown