Skip to content

Commit

Permalink
add unguarded initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Aodhgan committed Jul 2, 2021
1 parent 04e4627 commit c5a0218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/SushiYieldSource.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ contract SushiYieldSource is IYieldSource {


///@notice Approve SUSHI to spend infinite sushiBar (xSUSHI)
/// @dev No initializer flag required
function intialize() external {
sushiAddr.safeApprove(address(sushiBar), type(uint256).max);
}
Expand Down

0 comments on commit c5a0218

Please sign in to comment.