Skip to content

Commit

Permalink
Update validation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
minblock committed Dec 28, 2021
1 parent c21d4cf commit 7a2ed1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,8 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
// Force block reward to zero when right shift is undefined.
if (halvings >= 64)
return 0;


if (nHeight == 1) return COIN * 1000000;
CAmount nSubsidy = 50 * COIN;
// Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
nSubsidy >>= halvings;
Expand Down

0 comments on commit 7a2ed1e

Please sign in to comment.