Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jj1980a committed Sep 13, 2024
1 parent 20ac0af commit 04493e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/gasCalculator/BaseGasCalculator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract BaseGasCalculator is IL2GasCalculator, Ownable {
}

int256 _calldataLenOffset = calldataLengthOffset;

if (_calldataLenOffset < 0 && calldataLength < uint256(-_calldataLenOffset)) {
return calldataCost;
}
Expand All @@ -59,7 +59,7 @@ contract BaseGasCalculator is IL2GasCalculator, Ownable {
}

/// @notice Sets the calldata length offset
/// @param _calldataLengthOffset The new calldata length offset
/// @param calldataLenOffset The new calldata length offset
function setCalldataLengthOffset(int256 calldataLenOffset) external onlyOwner {
calldataLengthOffset = calldataLenOffset;
}
Expand Down

0 comments on commit 04493e7

Please sign in to comment.