diff --git a/src/validation.cpp b/src/validation.cpp index 222be6f4a..09f99f86a 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1489,15 +1489,15 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams) dgp.fillBlockRewardBlocksInfo(); dgp.fillBlockRewardPercentageInfo(); - if (nHeight > 5100) { - while (dgp.blockRewardVoteBlocks.size() == 0) { - dgp.fillBlockRewardBlocksInfo(); - dgp.fillBlockRewardPercentageInfo(); - int a = 0; - while (a < 5000000) - a++; - } - } + // if (nHeight > 5100) { + // while (dgp.blockRewardVoteBlocks.size() == 0) { + // dgp.fillBlockRewardBlocksInfo(); + // dgp.fillBlockRewardPercentageInfo(); + // int a = 0; + // while (a < 5000000) + // a++; + // } + // } CAmount prevTotalSupplay = consensusParams.initialCoinsSupply * 100; CAmount blocksPerYear = consensusParams.blocksPerYear * 100;