diff options
| author | Pieter Wuille <[email protected]> | 2016-07-22 15:57:25 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-07-30 02:17:47 +0200 |
| commit | 0fd2a33648ccde4b989f1d69529daea4d88b14a2 (patch) | |
| tree | 9239f56f316cb63fd390f0cdf553b420df5c12c3 /src/main.cpp | |
| parent | Merge #8417: [QA] Add walletdump RPC test (including HD- & encryption-tests) (diff) | |
| download | discoin-0fd2a33648ccde4b989f1d69529daea4d88b14a2.tar.xz discoin-0fd2a33648ccde4b989f1d69529daea4d88b14a2.zip | |
Use a signal to continue init after genesis activation
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 622ec5142..f8eab7eb3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4331,8 +4331,6 @@ bool InitBlockIndex(const CChainParams& chainparams) CBlockIndex *pindex = AddToBlockIndex(block); if (!ReceivedBlockTransactions(block, state, pindex, blockPos)) return error("LoadBlockIndex(): genesis block not accepted"); - if (!ActivateBestChain(state, chainparams, &block)) - return error("LoadBlockIndex(): genesis block cannot be activated"); // Force a chainstate write so that when we VerifyDB in a moment, it doesn't check stale data return FlushStateToDisk(state, FLUSH_STATE_ALWAYS); } catch (const std::runtime_error& e) { |