HomePhabricator

Fix activation_tests

Authored by deadalnix on Fri, Nov 29, 16:15.

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

Committed
deadalnixFri, Nov 29, 20:02
Pushed
deadalnixFri, Nov 29, 20:03
Reviewer
Restricted Project
Differential Revision
D4585: Fix activation_tests
Parents
rABC34dff0361d75: Add fuzz testing for BlockTransactions and BlockTransactionsRequest
Branches
Unknown
Tags
Unknown