Am retardo

This commit is contained in:
Daniel Løvbrøtte Olsen 2016-04-04 20:55:42 +02:00
parent a8bd1ee403
commit bac93edcb5

View File

@ -86,9 +86,8 @@ contract MyToken is owned {
throw; // Prevents accidental sending of ether throw; // Prevents accidental sending of ether
} }
function changeMinter(address newMinter) function changeMinter(address newMinter) onlyOwner
{ {
if (msg.sender != minter) throw;
minter = newMinter; minter = newMinter;
} }