HomePhabricator

[refactor] extract function for past activation tests

Description

[refactor] extract function for past activation tests

Summary: height-based past activation tests use identical code; extract it to a function and call it passing the IsXEnabled function and height as parameters

Test Plan:

ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
majcostaAuthored on Apr 23 2021, 16:20
majcostaPushed on Apr 27 2021, 15:23
Reviewer
Restricted Project
Differential Revision
D9444: [refactor] extract function for past activation tests
Parents
rABCe7039654cdb3: [backport#19178] Make mininode_lock non-reentrant
Branches
Unknown
Tags
Unknown