aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-04-01 17:21:15 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-04-01 17:26:33 +0200
commit2b7636c3d64361d44f6d94bf8f26d7e2fde8d55f (patch)
treec26ab5ef3cbc223e27fbc2a6c234148c8d038fd8 /src/test/test_bitcoin.cpp
parentae1479a114c71c140ef6c00a4452d2b5f300cb7a (diff)
parenta1f425b48bb3c2c2e8b3ee00c1020bc18dc70a26 (diff)
downloadbitcoin-2b7636c3d64361d44f6d94bf8f26d7e2fde8d55f.tar.xz
Merge pull request #5953
a1f425b Add a consistency check for the block chain data structures (Pieter Wuille) This is a port of #5900 to 0.10. Github-Pull: #5900
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index e50218d8ef..5269e3bda7 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -31,6 +31,7 @@ struct TestingSetup {
TestingSetup() {
fPrintToDebugLog = false; // don't want to write to debug.log file
+ fCheckBlockIndex = true;
SelectParams(CBaseChainParams::UNITTEST);
noui_connect();
#ifdef ENABLE_WALLET