From 59a5c4f919be54a6decc75920edbfc646f688aa9 Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 29 Oct 2024 15:03:04 +0100 Subject: [PATCH] Add named return param --- contracts/sfc/SFCLib.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/sfc/SFCLib.sol b/contracts/sfc/SFCLib.sol index 7d026ec..bb6756e 100644 --- a/contracts/sfc/SFCLib.sol +++ b/contracts/sfc/SFCLib.sol @@ -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;