remove chainparams from method call (10758)
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
05ad6d2ecb
commit
9f71ab04bd
@ -4236,7 +4236,7 @@ bool LoadGenesisBlock(const CChainParams& chainparams)
|
||||
if (!WriteBlockToDisk(block, blockPos, chainparams.MessageStart()))
|
||||
return error("%s: writing genesis block to disk failed", __func__);
|
||||
CBlockIndex *pindex = AddToBlockIndex(block);
|
||||
if (!ReceivedBlockTransactions(block, state, pindex, blockPos, chainparams.GetConsensus()))
|
||||
if (!ReceivedBlockTransactions(block, state, pindex, blockPos))
|
||||
return error("%s: genesis block not accepted", __func__);
|
||||
} catch (const std::runtime_error& e) {
|
||||
return error("%s: failed to write genesis block: %s", __func__, e.what());
|
||||
|
Loading…
Reference in New Issue
Block a user