Use JoinSplitTestingSetup for Boost sighash tests
Symptom: When running all tests, the test suite passed. But when running the sighash tests on their own, the test suite segfaulted. Cause: The sighash tests depend on the proving parameters being accessible, but BasicTestingSetup doesn't load them.
This commit is contained in:
parent
70109a74e9
commit
35d64c1fde
|
@ -152,7 +152,7 @@ void static RandomTransaction(CMutableTransaction &tx, bool fSingle) {
|
|||
}
|
||||
}
|
||||
|
||||
BOOST_FIXTURE_TEST_SUITE(sighash_tests, BasicTestingSetup)
|
||||
BOOST_FIXTURE_TEST_SUITE(sighash_tests, JoinSplitTestingSetup)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(sighash_test)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue