Page MenuHomePhabricator

Fix activation_tests
ClosedPublic

Authored by deadalnix on Nov 29 2019, 16:22.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable