From 1f8f164e87463c40d67adff8b91c27576a7efc50 Mon Sep 17 00:00:00 2001 From: JCsec Date: Wed, 22 Jan 2025 16:10:56 +0000 Subject: [PATCH] Linting fixes --- slither.config.json | 23 +++++++++++------------ src/AAFactory.sol | 2 +- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/slither.config.json b/slither.config.json index b911d8bc..356f54fc 100644 --- a/slither.config.json +++ b/slither.config.json @@ -1,13 +1,12 @@ { - "filter_paths": "(test|src/test|scripts|node_modules)", - "detectors_to_exclude": "uninitialized-local,unused-returns", - "exclude_dependencies": true, - "compile_force_framework": "foundry", - "foundry_ignore_compile": false, - "exclude_high": false, - "exclude_medium": false, - "exclude_low": true, - "exclude_informational": true, - "exclude_optimization": true - } - \ No newline at end of file + "filter_paths": "(test|src/test|scripts|node_modules)", + "detectors_to_exclude": "uninitialized-local,unused-returns", + "exclude_dependencies": true, + "compile_force_framework": "foundry", + "foundry_ignore_compile": false, + "exclude_high": false, + "exclude_medium": false, + "exclude_low": true, + "exclude_informational": true, + "exclude_optimization": true +} diff --git a/src/AAFactory.sol b/src/AAFactory.sol index 0223f79b..ac8f97d1 100644 --- a/src/AAFactory.sol +++ b/src/AAFactory.sol @@ -63,7 +63,7 @@ contract AAFactory { (accountAddress) = abi.decode(returnData, (address)); accountMappings[_uniqueAccountId] = accountAddress; - + // Initialize the newly deployed account with validators, hooks and K1 owners. ISsoAccount(accountAddress).initialize(_initialValidators, _initialK1Owners);