diff options
| author | Pieter Wuille <[email protected]> | 2013-01-30 21:43:36 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-02-01 23:29:59 +0100 |
| commit | 386037615ae02f972287a958d22a5bd2760626a7 (patch) | |
| tree | 308156e618b67b34bd7eb07b1338f16e41729d10 /src/test/test_bitcoin.cpp | |
| parent | Merge pull request #2257 from fanquake/docs (diff) | |
| download | discoin-386037615ae02f972287a958d22a5bd2760626a7.tar.xz discoin-386037615ae02f972287a958d22a5bd2760626a7.zip | |
Make sure the genesis block is present after reindex
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
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); |