Skip to content

Commit

Permalink
Merge branch 'reseed-testnet-deployment' into pipeline-convert-try-catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Sep 22, 2024
2 parents e4031e1 + 6d29fce commit bd8735e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocol/contracts/ecosystem/price/WellPrice.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ contract WellPrice {

uint256[] memory wellBalances = well.getReserves();
if (wellBalances[0] == 0 || wellBalances[1] == 0) return pool;
pool.balances = [wellBalances[0], wellBalances[1]];

uint256 beanIndex = beanstalk.getBeanIndex(wellTokens);
uint256 tknIndex = beanIndex == 0 ? 1 : 0;
Expand Down

0 comments on commit bd8735e

Please sign in to comment.