From 3c59216ec4c73cbe0300c1ee3be16487c16c48fe Mon Sep 17 00:00:00 2001 From: Sebo Kim Date: Thu, 22 Nov 2018 19:44:32 +0900 Subject: [PATCH] in replaceOwner, newOwner must be not null! and fallback function 'public' added. --- contracts/MultiSigWallet.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/MultiSigWallet.sol b/contracts/MultiSigWallet.sol index 4b200693..548f7765 100644 --- a/contracts/MultiSigWallet.sol +++ b/contracts/MultiSigWallet.sol @@ -93,6 +93,7 @@ contract MultiSigWallet { /// @dev Fallback function allows to deposit ether. function() + public payable { if (msg.value > 0) @@ -158,6 +159,7 @@ contract MultiSigWallet { onlyWallet ownerExists(owner) ownerDoesNotExist(newOwner) + notNull(newOwner) { for (uint i=0; i