mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 06:32:33 +01:00
Switch testing framework from MAIN to new UNITTEST network
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
41150d601d
commit
a25fd6be13
@@ -253,6 +253,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
|
||||
|
||||
chainActive.Tip()->nHeight--;
|
||||
SetMockTime(0);
|
||||
mempool.clear();
|
||||
|
||||
BOOST_FOREACH(CTransaction *tx, txFirst)
|
||||
delete tx;
|
||||
|
||||
Reference in New Issue
Block a user