Changed constant to view and more expressive comment

pull/638/head
George Spasov 7 years ago
parent 7852583fde
commit 586c88802d
  1. 4
      contracts/crowdsale/Crowdsale.sol

@ -64,8 +64,8 @@ contract Crowdsale {
buyTokens(msg.sender); buyTokens(msg.sender);
} }
// Override this function to create logic for periodization // Override this method to have a way to add business logic to your crowdsale when buying
function getTokenAmount(uint256 weiAmount) internal constant returns(uint256) { function getTokenAmount(uint256 weiAmount) internal view returns(uint256) {
return weiAmount.mul(rate); return weiAmount.mul(rate);
} }

Loading…
Cancel
Save