Skip to content

Commit

Permalink
Merge branch 'dev-2.1.0' into dev-2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdossa committed Dec 14, 2018
2 parents d771ea4 + 06ce332 commit 1f5f42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/modules/STO/USDTieredSTO.sol
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ contract USDTieredSTO is USDTieredSTOStorage, ISTO, ReentrancyGuard {
fundsRaisedUSD = fundsRaisedUSD.add(spentUSD);
}

spentValue = DecimalMath.mul(DecimalMath.div(spentUSD, originalUSD), _investmentValue);
spentValue = DecimalMath.div(spentUSD, _rate);
}

/**
Expand Down Expand Up @@ -494,7 +494,7 @@ contract USDTieredSTO is USDTieredSTOStorage, ISTO, ReentrancyGuard {
}
}

spentValue = DecimalMath.mul(DecimalMath.div(spentUSD, originalUSD), _investmentValue);
spentValue = DecimalMath.div(spentUSD, rate);
}

function _buyTokensChecks(
Expand Down

0 comments on commit 1f5f42b

Please sign in to comment.