aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-02-05 10:15:06 -0500
committerGavin Andresen <[email protected]>2013-02-05 10:15:06 -0500
commit79892883d714dd34906a0f641400d6b237ebd75c (patch)
treee77e54f30d6a8c5aae250f18451c1280d6b2a583 /src/test/test_bitcoin.cpp
parentMerge pull request #2273 from gavinandresen/txsize (diff)
parentMake sure the genesis block is present after reindex (diff)
downloaddiscoin-79892883d714dd34906a0f641400d6b237ebd75c.tar.xz
discoin-79892883d714dd34906a0f641400d6b237ebd75c.zip
Merge branch 'reindexgen' of git://github.com/sipa/bitcoin
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index f75b762f1..1116507a3 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -28,7 +28,7 @@ struct TestingSetup {
pblocktree = new CBlockTreeDB(1 << 20, true);
pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(*pcoinsdbview);
- LoadBlockIndex();
+ InitBlockIndex();
bool fFirstRun;
pwalletMain = new CWallet("wallet.dat");
pwalletMain->LoadWallet(fFirstRun);