Skip to content

Commit

Permalink
Merge pull request #40 from cryptonit/patch-8
Browse files Browse the repository at this point in the history
Update main.cpp
  • Loading branch information
DMDcoin authored Jul 7, 2016
2 parents f35b342 + 24464e5 commit dcd9104
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1025,8 +1025,10 @@ int64 GetProofOfStakeReward(int64 nCoinAge, unsigned int nBits, unsigned int nTi
else
nRewardCoinYear = 50 * CENT;

nRewardCoinYear = GetAdjustedCoinYear(nRewardCoinYear, nTime, reactorRate);
nSubsidy = nCoinAge * nRewardCoinYear / 365;
if(nTime > REACTOR_START_TIME)
nRewardCoinYear = GetAdjustedCoinYear(nRewardCoinYear, nTime, reactorRate);

nSubsidy = nCoinAge * nRewardCoinYear / 365;
}

if (fDebug && GetBoolArg("-printcreation"))
Expand Down

0 comments on commit dcd9104

Please sign in to comment.