diff options
author | jtimon <jtimon@blockstream.io> | 2014-09-03 02:52:01 +0200 |
---|---|---|
committer | jtimon <jtimon@blockstream.io> | 2014-09-08 22:14:24 +0200 |
commit | 6db83db3eb96809da3e680464b152f82785e38e6 (patch) | |
tree | e74fd80fe789c3550d862d088e2d6b86be547e14 /src/init.cpp | |
parent | eecd3c0fb0625b036f68a7830dda8edde21fcb90 (diff) |
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 31f64878fb..f83dfe2f99 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(); } |