Skip to content

Commit

Permalink
fix Keep3rOracleMainAsset_Mock
Browse files Browse the repository at this point in the history
  • Loading branch information
uprotocore committed Nov 30, 2023
1 parent 2b9328b commit b48f444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/test-helpers/Keep3rOracleMainAsset_Mock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ contract Keep3rOracleMainAsset_Mock is ChainlinkedOracleSimple {
// WETH reserve of {Token}/WETH pool
uint wethReserve = ERC20Like(WETH).balanceOf(uniswapPair);

return amount.mul(wethReserve).mul(Q112);
return amount.mul(wethReserve).mul(Q112).div(tokenReserve);
}

/**
Expand Down

0 comments on commit b48f444

Please sign in to comment.