Using the new overridable function

pull/638/head
George Spasov 7 years ago
parent 2f2ef68652
commit 04946211a5
  1. 2
      contracts/crowdsale/Crowdsale.sol

@ -77,7 +77,7 @@ contract Crowdsale {
uint256 weiAmount = msg.value;
// calculate token amount to be created
uint256 tokens = weiAmount.mul(rate);
uint256 tokens = getTokenAmount(weiAmount);
// update state
weiRaised = weiRaised.add(weiAmount);

Loading…
Cancel
Save