From fce05847666c5fd73b70614cdcc7448cbcdf3cc8 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 8 Jul 2024 11:04:35 +0200 Subject: [PATCH] Update modules/4337/contracts/Safe4337Module.sol Co-authored-by: Nicholas Rodrigues Lordello --- modules/4337/contracts/Safe4337Module.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/4337/contracts/Safe4337Module.sol b/modules/4337/contracts/Safe4337Module.sol index c2ef9de4..a49f4802 100644 --- a/modules/4337/contracts/Safe4337Module.sol +++ b/modules/4337/contracts/Safe4337Module.sol @@ -243,8 +243,7 @@ contract Safe4337Module is IAccount, HandlerContext, CompatibilityFallbackHandle /* solhint-enable no-inline-assembly */ if (!result) return result; } - if (signatures.length > offset) return false; - return result; + result = signatures.length <= offset; } /**