Skip to content

Commit

Permalink
Add named return param
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-CZ committed Oct 29, 2024
1 parent a085fdd commit 59a5c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/sfc/SFCLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ contract SFCLib is SFCBase {
}
}

function _stashRewards(address delegator, uint256 toValidatorID) internal returns (bool) {
function _stashRewards(address delegator, uint256 toValidatorID) internal returns (bool updated) {
uint256 nonStashedReward = _newRewards(delegator, toValidatorID);
if (nonStashedReward == 0) {
return false;
Expand Down

0 comments on commit 59a5c4f

Please sign in to comment.