Skip to content

Commit

Permalink
Block reward fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pushiplay committed Mar 26, 2018
1 parent 2bd65fc commit 4d8744a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ CAmount GetBlockSubsidy(int nPrevBits, int nPrevHeight, const Consensus::Params&
nSubsidyBase = (2222222.0 / (pow((dDiff+2600.0)/9.0,2.0)));
if(nSubsidyBase > 25) nSubsidyBase = 25;
else if(nSubsidyBase < 5) nSubsidyBase = 20;
else nSubsidyBase = 22.3;
}

// LogPrintf("height %u diff %4.2f reward %d\n", nPrevHeight, dDiff, nSubsidyBase);
Expand Down

0 comments on commit 4d8744a

Please sign in to comment.