From eba93be2e4f13a45b2659f413e13d57c16f2f53e Mon Sep 17 00:00:00 2001 From: Billy Date: Wed, 1 Jun 2022 12:08:34 +0200 Subject: [PATCH] prepare genesis block --- src/validation.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/validation.cpp b/src/validation.cpp index 34ef9257d3..7a43463839 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1326,12 +1326,8 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams) if (halvings >= 64) return 0; - CAmount nSubsidy; - if (nHeight == 1) - nSubsidy = 4000000 * COIN; - else - nSubsidy = 45 * COIN; - // Subsidy is cut in half every 2,100,000 blocks which will occur approximately every 4 years. + CAmount nSubsidy = 45 * COIN; + // Subsidy is cut in half every 1,600,000 blocks which will occur approximately every 3 years. nSubsidy >>= halvings; return nSubsidy; }