deploy on ok

This commit is contained in:
owen05
2021-08-07 22:48:12 +08:00
parent 58b87283a8
commit dd1a3c0b6a
5 changed files with 131 additions and 3 deletions

View File

@@ -194,9 +194,7 @@ 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);
uint256 curAmount = curTotalAmount.mul(curPoolInfo.weight).div(curTotalWeight);
if(curPoolInfo.poolEdition == 1) {
//For using transferFrom pool (like dodoV1, Curve)