Page MenuHomePhabricator

test: Report InitBlockIndex result
ClosedPublic

Authored by deadalnix on Jan 6 2018, 13:09.

Details

Summary

If InitBlockIndex fails, then it will segfault later. Same for the later
ActivateBestChain. BOOST_REQUIRE the result, so that an error will be
reported and the test case aborted.

Backport of core's PR9904

Test Plan
make check

Diff Detail

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