HomePhabricator

Fix activation_tests

Description

Fix activation_tests

Summary:
The check for the null case was removed in a previous patch. This is a mistake as nullptr is passed down when checking for activation for the genesis block - it has no parent.

Also change an assert into a BOOST_CHECK_EQUAL for better error report.

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Nov 29 2019, 16:15
deadalnixPushed on Nov 29 2019, 20:03
Reviewer
Restricted Project
Differential Revision
D4585: Fix activation_tests
Parents
rABC34dff0361d75: Add fuzz testing for BlockTransactions and BlockTransactionsRequest
Branches
Unknown
Tags
Unknown