From bac93edcb59401fdce744fdc9a83cfc4c1bcc6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Mon, 4 Apr 2016 20:55:42 +0200 Subject: [PATCH] Am retardo --- Ethereum/Contracts/Owner!=Minter | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ethereum/Contracts/Owner!=Minter b/Ethereum/Contracts/Owner!=Minter index 918c4ee..79671bf 100644 --- a/Ethereum/Contracts/Owner!=Minter +++ b/Ethereum/Contracts/Owner!=Minter @@ -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; }