Skip to content

Commit

Permalink
assetPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Aug 5, 2023
1 parent 579c51d commit d4788c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/contracts/ecosystem/price/WellPrice.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ contract WellPrice {
pool.price =
well.getSwapOut(wellTokens[beanIndex], wellTokens[tknIndex], 1e6) // 1e18
.mul(PRICE_PRECISION) // 1e6
.div(LibUsdOracle.getUsdPrice(address(wellTokens[tknIndex]))); // 1e18
.div(assetPrice); // 1e18
} else {
// cannnot determine a price for bean if the other asset that bean is trading against is 0.
pool.price = 0;
Expand Down

0 comments on commit d4788c6

Please sign in to comment.