Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bxmmm1 authored and github-actions[bot] committed Jul 23, 2024
1 parent c5d5a7d commit ff2ead8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mainnet-contracts/src/PufLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contract PufLocker is IPufLocker, AccessManagedUpgradeable, UUPSUpgradeable, Puf
}

// The users that use a smart wallet and do not use the Permit and they do the .approve and then .deposit.
// They might get confused when they open Etherscan, and see:
// They might get confused when they open Etherscan, and see:
// "Although one or more Error Occurred [execution reverted] Contract Execution Completed"

// To avoid that, we don't want to call the permit function if it is not necessary.
Expand Down
3 changes: 1 addition & 2 deletions mainnet-contracts/src/PufferL2Depositor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ contract PufferL2Depositor is IPufferL2Depositor, AccessManaged {
uint256 referralCode,
uint128 lockPeriod
) external onlySupportedTokens(token) restricted {

// The users that use a smart wallet and do not use the Permit and they do the .approve and then .deposit.
// They might get confused when they open Etherscan, and see:
// They might get confused when they open Etherscan, and see:
// "Although one or more Error Occurred [execution reverted] Contract Execution Completed"

// To avoid that, we don't want to call the permit function if it is not necessary.
Expand Down

0 comments on commit ff2ead8

Please sign in to comment.