diff options
| author | Gavin Andresen <[email protected]> | 2013-10-14 20:39:00 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-10-14 20:39:00 -0700 |
| commit | b9beea6e9d0f789f11d249b040e549d535bdc295 (patch) | |
| tree | e87c3422b52b1f6d78b88b9cea756c1f3cb8d37b /src/txdb.cpp | |
| parent | Merge pull request #2933 from sipa/leveldb113 (diff) | |
| parent | Refactor/encapsulate chain globals into a CChain class (diff) | |
| download | discoin-b9beea6e9d0f789f11d249b040e549d535bdc295.tar.xz discoin-b9beea6e9d0f789f11d249b040e549d535bdc295.zip | |
Merge pull request #3077 from sipa/chain
Refactor/encapsulate chain globals into a CChain class
Diffstat (limited to 'src/txdb.cpp')
| -rw-r--r-- | src/txdb.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index 0d2fdc288..24ee8ec3e 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -223,10 +223,6 @@ bool CBlockTreeDB::LoadBlockIndexGuts() pindexNew->nStatus = diskindex.nStatus; pindexNew->nTx = diskindex.nTx; - // Watch for genesis block - if (pindexGenesisBlock == NULL && diskindex.GetBlockHash() == Params().HashGenesisBlock()) - pindexGenesisBlock = pindexNew; - if (!pindexNew->CheckIndex()) return error("LoadBlockIndex() : CheckIndex failed: %s", pindexNew->ToString().c_str()); |