Page MenuHomePhabricator

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

Authored by majcosta on May 11 2020, 15:43.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

majcosta created this revision.May 11 2020, 15:43
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 11 2020, 15:43
majcosta requested review of this revision.May 11 2020, 15:43
teamcity edited the summary of this revision. (Show Details)May 11 2020, 15:43

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix accepted this revision.May 11 2020, 16:29
This revision is now accepted and ready to land.May 11 2020, 16:29