From cf26081decb5c89ead31e415081ca6ecf9c8ce58 Mon Sep 17 00:00:00 2001 From: brendan Date: Fri, 23 Feb 2024 16:24:21 -0800 Subject: [PATCH] add accidentally removed line --- src/pumps/MultiFlowPump.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pumps/MultiFlowPump.sol b/src/pumps/MultiFlowPump.sol index 356792fa..212e9bd2 100644 --- a/src/pumps/MultiFlowPump.sol +++ b/src/pumps/MultiFlowPump.sol @@ -258,6 +258,7 @@ contract MultiFlowPump is IPump, IMultiFlowPumpErrors, IInstantaneousPump, ICumu (uint256 i, uint256 j) = lastReserves[0] > lastReserves[1] ? (0, 1) : (1, 0); CapRatiosVariables memory crv; crv.rLast = mfpWf.calcRate(lastReserves, i, j, data); + crv.r = mfpWf.calcRate(cappedReserves, i, j, data); // If the ratio increased, check that it didn't increase above the max. if (crv.r > crv.rLast) {