Skip to content

Commit

Permalink
Remove unneeded cast of STAKE_TOKEN in Staker
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Jan 27, 2025
1 parent fda09a6 commit 0d31829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GovernanceStaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ abstract contract GovernanceStaker is INotifiableRewardReceiver, Multicall {
/// @param _to Destination account of the stake token which is to be transferred.
/// @param _value Quantity of stake token which is to be transferred.
function _stakeTokenSafeTransferFrom(address _from, address _to, uint256 _value) internal virtual {
SafeERC20.safeTransferFrom(IERC20(address(STAKE_TOKEN)), _from, _to, _value);
SafeERC20.safeTransferFrom(STAKE_TOKEN, _from, _to, _value);
}

/// @notice Internal method which generates and returns a unique, previously unused deposit
Expand Down

0 comments on commit 0d31829

Please sign in to comment.