Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
RosenKrumov committed Apr 25, 2024
1 parent 6c75630 commit eb4050d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eb4050d

Please sign in to comment.