Skip to content

Commit

Permalink
Update calculationUserIncentives
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed May 27, 2024
1 parent 4cd9205 commit 7f54f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ public InspireResultDto calculationUserIncentives(UserInspireCalculationDto dto)

Long maxAuthorize = calculationNode.getMaxAuthorize();
// 考虑此节点用户质押部分满了的情况,此时用户不能再进行质押,收益为0
if ((maxAuthorize == 0 && totalPos1 == 0) || (maxAuthorize - totalPos1 == 0)) {
if (maxAuthorize == 0 && totalPos1 == 0) {
nodeInspire.setUserReleasedOngIncentive("0");
nodeInspire.setUserGasFeeIncentive("0");
nodeInspire.setUserFoundationBonusIncentive("0");
Expand Down

0 comments on commit 7f54f52

Please sign in to comment.