Am retardo
This commit is contained in:
parent
a8bd1ee403
commit
bac93edcb5
@ -86,9 +86,8 @@ contract MyToken is owned {
|
||||
throw; // Prevents accidental sending of ether
|
||||
}
|
||||
|
||||
function changeMinter(address newMinter)
|
||||
function changeMinter(address newMinter) onlyOwner
|
||||
{
|
||||
if (msg.sender != minter) throw;
|
||||
minter = newMinter;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user