Skip to content

Commit

Permalink
remove extra var
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Sep 6, 2023
1 parent 8450318 commit 9869e94
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ contract StakingRewards is RewardsDistributionRecipient, ReentrancyGuard, Pausab

// Construct the call data
// Here, 'wad' is set to zero just for the purpose of the check
uint256 wad = 0;
bytes memory data = abi.encodeWithSelector(functionSignature, wad);
bytes memory data = abi.encodeWithSelector(functionSignature, 0);

// Make the low-level call
(bool success, ) = address(rewardsToken).call(data);
Expand Down

0 comments on commit 9869e94

Please sign in to comment.