Let the comment in GetBlockValue() reflect the uncertainty about the time interval between subsidy reductions

This commit is contained in:
Rune K. Svendsen 2012-07-18 09:37:05 +02:00
parent e47bd0195c
commit 5f2e4b0565

View file

@ -828,7 +828,7 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
{ {
int64 nSubsidy = 50 * COIN; int64 nSubsidy = 50 * COIN;
// Subsidy is cut in half every 4 years // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
nSubsidy >>= (nHeight / 210000); nSubsidy >>= (nHeight / 210000);
return nSubsidy + nFees; return nSubsidy + nFees;