This commit is contained in:
owen05
2021-06-28 23:51:34 +08:00
parent d02b9b0eb8
commit 7acd630e50
7 changed files with 22 additions and 9 deletions

View File

@@ -195,6 +195,8 @@ contract DODORouteProxy {
if(assetFrom[i-1] == address(this)) {
uint256 curAmount = curTotalAmount.div(curTotalWeight).mul(curPoolInfo.weight);
//can improved
// uint256 curAmount = curTotalAmount.mul(curPoolInfo.weight).div(curTotalWeight);
if(curPoolInfo.poolEdition == 1) {
//For using transferFrom pool (like dodoV1, Curve)