Skip to content

Commit

Permalink
Update Lib1559Math.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Mar 28, 2024
1 parent 944db01 commit 0ef05d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/protocol/contracts/L2/Lib1559Math.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ library Lib1559Math {
revert EIP1559_INVALID_PARAMS();
}

return _ethQty(_gasExcess, _adjustmentFactor) / LibFixedPointMath.SCALING_FACTOR
/ _adjustmentFactor;
return _ethQty(_gasExcess, _adjustmentFactor) / LibFixedPointMath.SCALING_FACTOR;
}

/// @dev exp(gas_qty / TARGET / ADJUSTMENT_QUOTIENT)
Expand Down

0 comments on commit 0ef05d4

Please sign in to comment.