HomePhabricator

[backport#15931 5/9] Refactor some importprunedfunds checks with guard clause

Description

[backport#15931 5/9] Refactor some importprunedfunds checks with guard clause

Summary:
Credit to jkczyz


https://github.com/bitcoin/bitcoin/pull/15931/commits/769ff05e48fb53d4b62c59060424a0fea71d0aab

Depends on D7509

Partial backport of Core PR15931

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Antoine Riard <ariard@student.42.fr>Authored on Nov 6 2019, 17:00
majcostaCommitted on Sep 22 2020, 14:58
majcostaPushed on Sep 22 2020, 14:58
Reviewer
Restricted Project
Differential Revision
D7510: [backport#15931 5/9] Refactor some importprunedfunds checks with guard clause
Parents
rABCc789d0e82287: [backport#15931 4/9] Add block_height field in struct Confirmation
Branches
Unknown
Tags
Unknown