From 0b838018e7c0c782f84aa7dbbe0ed4a7308d4a99 Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Thu, 26 May 2022 09:29:24 +0530 Subject: [PATCH] Fix for future swap owner rewards calc --- src/masternodes/mn_checks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/masternodes/mn_checks.cpp b/src/masternodes/mn_checks.cpp index 37c432ac4d5..8f29a3f400e 100644 --- a/src/masternodes/mn_checks.cpp +++ b/src/masternodes/mn_checks.cpp @@ -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;