Commit 8215444c authored by Maurelian's avatar Maurelian

feat(ctb): Remove redundant _verifyGuard call

parent 26c1ac54
...@@ -66,9 +66,6 @@ contract LivenessModule is ISemver { ...@@ -66,9 +66,6 @@ contract LivenessModule is ISemver {
/// during the liveness interval. If the number of owners drops below the minimum, then the /// during the liveness interval. If the number of owners drops below the minimum, then the
/// ownership of the Safe is transferred to the fallback owner. /// ownership of the Safe is transferred to the fallback owner.
function removeOwner(address owner) external { function removeOwner(address owner) external {
// Check that the guard has not been changed
_verifyGuard();
// Check that the owner to remove has not signed a transaction in the last 30 days // Check that the owner to remove has not signed a transaction in the last 30 days
require( require(
LIVENESS_GUARD.lastLive(owner) < block.timestamp - LIVENESS_INTERVAL, LIVENESS_GUARD.lastLive(owner) < block.timestamp - LIVENESS_INTERVAL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment