Skip to content

Commit

Permalink
Merge pull request OpenZeppelin#505 from ZumZoom/patch-1
Browse files Browse the repository at this point in the history
Finish minting should be called only once
  • Loading branch information
facuspagnuolo committed Nov 15, 2017
2 parents c8241a0 + ebd7240 commit a2b9372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/token/MintableToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2b9372

Please sign in to comment.