Skip to content

Commit

Permalink
Fix for future swap owner rewards calc
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed May 26, 2022
1 parent f3ef5eb commit a74cf06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/masternodes/mn_checks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,7 @@ class CCustomTxApplyVisitor : public CCustomTxVisitor
return res;
}
} else {
CalculateOwnerRewards(obj.owner);
auto res = TransferTokenBalance(obj.source.nTokenId, obj.source.nValue, obj.owner, *contractAddressValue);
if (!res) {
return res;
Expand Down

0 comments on commit a74cf06

Please sign in to comment.