Unverified Commit 7a19bcf6 by Facundo Spagnuolo Committed by GitHub

Merge pull request #505 from ZumZoom/patch-1

Finish minting should be called only once
parents 08889715 2d83c557
...@@ -43,7 +43,7 @@ contract MintableToken is StandardToken, Ownable { ...@@ -43,7 +43,7 @@ contract MintableToken is StandardToken, Ownable {
* @dev Function to stop minting new tokens. * @dev Function to stop minting new tokens.
* @return True if the operation was successful. * @return True if the operation was successful.
*/ */
function finishMinting() onlyOwner public returns (bool) { function finishMinting() onlyOwner canMint public returns (bool) {
mintingFinished = true; mintingFinished = true;
MintFinished(); MintFinished();
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment