Skip to content

Commit

Permalink
add accidentally removed line
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanSanderson committed Feb 24, 2024
1 parent 6e52d27 commit cf26081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pumps/MultiFlowPump.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cf26081

Please sign in to comment.