Skip to content

Commit

Permalink
Rewards Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thesolarminer committed Sep 14, 2020
1 parent 68c523d commit fe11374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/smartrewards/rewards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ void CSmartRewards::UpdateRoundPayoutParameter()
nBlockInterval = 1;
}else if ( round->number == nFirst_1_3_Round ) {
nBlockPayees = 0;
nBlockInterval = 0;
nBlockInterval = 1;
}else if ( round->number < nFirst_1_3_Round ) {
nBlockPayees = Params().GetConsensus().nRewardsPayouts_1_2_BlockPayees;
nBlockInterval = Params().GetConsensus().nRewardsPayouts_1_2_BlockInterval;
}
} else {
// If there are no eligible smartreward entries
nBlockPayees = 0;
nBlockInterval = 0;
nBlockInterval = 1;
}

cache.UpdateRoundPayoutParameter(nBlockPayees, nBlockInterval);
Expand Down

0 comments on commit fe11374

Please sign in to comment.