You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
claimCommission command can be called by anyone, and it calls the claimStakerReward function of the smart contract without checking if the staker actually has accommodated any commission.
Expected behaviour
The smart contract call must not be made if there is no commission to claim.
Actual behaviour
The smart contract call is made regardless of whether the commission is there to claim or not.
Backtrace
The text was updated successfully, but these errors were encountered:
System information
Describe the bug
claimCommission
command can be called by anyone, and it calls theclaimStakerReward
function of the smart contract without checking if the staker actually has accommodated any commission.Expected behaviour
The smart contract call must not be made if there is no commission to claim.
Actual behaviour
The smart contract call is made regardless of whether the commission is there to claim or not.
Backtrace
The text was updated successfully, but these errors were encountered: