diff --git a/protocol/contracts/libraries/LibEvaluate.sol b/protocol/contracts/libraries/LibEvaluate.sol index 4f51ecdf0..1afac4b1d 100644 --- a/protocol/contracts/libraries/LibEvaluate.sol +++ b/protocol/contracts/libraries/LibEvaluate.sol @@ -296,9 +296,8 @@ library LibEvaluate { function evaluateBeanstalk(int256 deltaB, uint256 beanSupply) external returns (uint256, bool) { BeanstalkState memory bs = updateAndGetBeanstalkState(beanSupply); uint256 caseId = evalPodRate(bs.podRate) // Evaluate Pod Rate - .add(evalPrice(deltaB, bs.largestLiqWell)) // Evaluate Price - .add(evalDeltaPodDemand(bs.deltaPodDemand)) // Evaluate Delta Soil Demand - .add(evalLpToSupplyRatio(bs.lpToSupplyRatio)); // Evaluate LP to Supply Ratio + .add(evalPrice(deltaB, bs.largestLiqWell)) // Evaluate Price + .add(evalDeltaPodDemand(bs.deltaPodDemand)).add(evalLpToSupplyRatio(bs.lpToSupplyRatio)); // Evaluate Delta Soil Demand // Evaluate LP to Supply Ratio return (caseId, bs.oracleFailure); }