diff options
| author | Pieter Wuille <[email protected]> | 2014-09-29 05:56:57 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-29 06:06:57 +0200 |
| commit | bf3a5dd7f0c9da14da1ebcef49d4eeff5fe14419 (patch) | |
| tree | 4012442be778f55be17e7807399e7e00a8a8837a /src/init.cpp | |
| parent | doc: Update SHA256SUMS.asc step in release-process.md (diff) | |
| parent | Move CBlockIndex, CChain and related code out of main (diff) | |
| download | discoin-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.cpp | 2 |
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(); } |