From 5592b62b2d130be8016b28cd6e8c87d30ae5ee7f Mon Sep 17 00:00:00 2001 From: barakman Date: Thu, 19 Jul 2018 12:42:43 +0300 Subject: [PATCH] Function replaceOwner can add a null owner Ensure that function replaceOwner does not add a null owner --- contracts/MultiSigWallet.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/MultiSigWallet.sol b/contracts/MultiSigWallet.sol index 4b200693..9910ca15 100644 --- a/contracts/MultiSigWallet.sol +++ b/contracts/MultiSigWallet.sol @@ -158,6 +158,7 @@ contract MultiSigWallet { onlyWallet ownerExists(owner) ownerDoesNotExist(newOwner) + notNull(newOwner) { for (uint i=0; i