diff options
| author | jtimon <[email protected]> | 2014-09-03 02:52:01 +0200 |
|---|---|---|
| committer | jtimon <[email protected]> | 2014-09-08 22:14:24 +0200 |
| commit | 6db83db3eb96809da3e680464b152f82785e38e6 (patch) | |
| tree | e74fd80fe789c3550d862d088e2d6b86be547e14 /src/init.cpp | |
| parent | Merge pull request #4754 (diff) | |
| download | discoin-6db83db3eb96809da3e680464b152f82785e38e6.tar.xz discoin-6db83db3eb96809da3e680464b152f82785e38e6.zip | |
Decouple CChain from mapBlockIndex
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 31f64878f..f83dfe2f9 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1151,7 +1151,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(); } |