Test
This commit is contained in:
@@ -4534,6 +4534,8 @@ bool InitBlockIndex() {
|
||||
if (!WriteBlockToDisk(block, blockPos, chainparams.MessageStart()))
|
||||
return error("LoadBlockIndex(): writing genesis block to disk failed");
|
||||
CBlockIndex *pindex = AddToBlockIndex(block);
|
||||
if ( pindex == 0 )
|
||||
return error("LoadBlockIndex(): couldnt add to block index");
|
||||
if (!ReceivedBlockTransactions(block, state, pindex, blockPos))
|
||||
return error("LoadBlockIndex(): genesis block not accepted");
|
||||
if (!ActivateBestChain(state, &block))
|
||||
|
||||
Reference in New Issue
Block a user