Rename for targetAmountX
in CalcGreatestMatchingRatio
, should just be reserveX
#239
Labels
targetAmountX
in CalcGreatestMatchingRatio
, should just be reserveX
#239
targetAmountX
makes no sense since it has nothing to do with a target amount.The ratio of
targetAmount0
totargetAmount1
can be seen as atargetRatio
but this doesn't make sense for amounts.The text was updated successfully, but these errors were encountered: