Merge pull request #505 from ZumZoom/patch-1
Finish minting should be called only once
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user