From ea6fa621e5def1e35fc5e62804a4b4a85b5b7a84 Mon Sep 17 00:00:00 2001 From: "A.L." Date: Sat, 7 Dec 2024 09:00:16 +0800 Subject: [PATCH] fix: addresses #4 --- src/ReservoirPriceOracle.sol | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ReservoirPriceOracle.sol b/src/ReservoirPriceOracle.sol index 8e22152..fb8bed3 100644 --- a/src/ReservoirPriceOracle.sol +++ b/src/ReservoirPriceOracle.sol @@ -230,9 +230,6 @@ contract ReservoirPriceOracle is IPriceOracle, Owned(msg.sender), ReentrancyGuar // congestion rReward = block.basefee * rewardGasAmount * MAX_REWARD_MULTIPLIER; } else { - assert( - lPercentDiff >= lRewardThresholdWAD && lPercentDiff < lRewardThresholdWAD * MAX_REWARD_MULTIPLIER - ); rReward = block.basefee * rewardGasAmount * lPercentDiff / lRewardThresholdWAD; // denominator is never 0 } }