Merge pull request #505 from ZumZoom/patch-1

Finish minting should be called only once
pull/487/head^2
Facundo Spagnuolo 7 years ago committed by GitHub
commit 7a19bcf6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/token/MintableToken.sol

@ -43,7 +43,7 @@ contract MintableToken is StandardToken, Ownable {
* @dev Function to stop minting new tokens.
* @return True if the operation was successful.
*/
function finishMinting() onlyOwner public returns (bool) {
function finishMinting() onlyOwner canMint public returns (bool) {
mintingFinished = true;
MintFinished();
return true;

Loading…
Cancel
Save