aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-29 05:56:57 +0200
committerPieter Wuille <[email protected]>2014-09-29 06:06:57 +0200
commitbf3a5dd7f0c9da14da1ebcef49d4eeff5fe14419 (patch)
tree4012442be778f55be17e7807399e7e00a8a8837a /src/init.cpp
parentdoc: Update SHA256SUMS.asc step in release-process.md (diff)
parentMove CBlockIndex, CChain and related code out of main (diff)
downloaddiscoin-bf3a5dd7f0c9da14da1ebcef49d4eeff5fe14419.tar.xz
discoin-bf3a5dd7f0c9da14da1ebcef49d4eeff5fe14419.zip
Merge pull request #4796
e8b5f0d Move CBlockIndex, CChain and related code out of main (jtimon) 6db83db Decouple CChain from mapBlockIndex (jtimon)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 27594ecbe..85f4d360d 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1159,7 +1159,7 @@ bool AppInit2(boost::thread_group& threadGroup)
CWalletDB walletdb(strWalletFile);
CBlockLocator locator;
if (walletdb.ReadBestBlock(locator))
- pindexRescan = chainActive.FindFork(locator);
+ pindexRescan = FindForkInGlobalIndex(chainActive, locator);
else
pindexRescan = chainActive.Genesis();
}