From 48c51ba1c4f27019ab5a57b35ba8c896658e791f Mon Sep 17 00:00:00 2001 From: Michael Kong Date: Tue, 24 Jul 2018 16:05:54 +0900 Subject: [PATCH] fixed required reassignment issue --- contracts/solidity/MultiSigWallet.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/solidity/MultiSigWallet.sol b/contracts/solidity/MultiSigWallet.sol index 159b789d..7497f079 100644 --- a/contracts/solidity/MultiSigWallet.sol +++ b/contracts/solidity/MultiSigWallet.sol @@ -114,7 +114,7 @@ contract MultiSigWallet { ownerExists(msg.sender) { require(block.timestamp.sub(lastTransactionTime) >= recoveryModeTriggerTime && required > 1); - required.sub(1); + required = required.sub(1); lastTransactionTime = block.timestamp; emit RecoveryModeActivated(); }