Skip to content

Commit 59a5c4f

Browse files
committed
Add named return param
1 parent a085fdd commit 59a5c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/sfc/SFCLib.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ contract SFCLib is SFCBase {
346346
}
347347
}
348348

349-
function _stashRewards(address delegator, uint256 toValidatorID) internal returns (bool) {
349+
function _stashRewards(address delegator, uint256 toValidatorID) internal returns (bool updated) {
350350
uint256 nonStashedReward = _newRewards(delegator, toValidatorID);
351351
if (nonStashedReward == 0) {
352352
return false;

0 commit comments

Comments
 (0)