From de75b35cb7df2fc5d1ee37858f8d204854a6e62d Mon Sep 17 00:00:00 2001 From: Eloi Manuel Date: Mon, 18 Dec 2023 19:01:08 +0100 Subject: [PATCH] Fixing BRA-05 from CertiK audit --- contracts/core/base/BaseRecoverableAccount.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/base/BaseRecoverableAccount.sol b/contracts/core/base/BaseRecoverableAccount.sol index 878fc5d..5246987 100644 --- a/contracts/core/base/BaseRecoverableAccount.sol +++ b/contracts/core/base/BaseRecoverableAccount.sol @@ -224,7 +224,7 @@ abstract contract BaseRecoverableAccount is BaseOpenfortAccount, Ownable2StepUpg if ( guardiansConfig.info[_guardian].pending != 0 - && block.timestamp < guardiansConfig.info[_guardian].pending + securityWindow + && block.timestamp <= guardiansConfig.info[_guardian].pending + securityWindow ) { revert DuplicatedProposal(); }