From 40ad7367c1ebb1053ede2b379a8f6fd3c4b11f88 Mon Sep 17 00:00:00 2001 From: ququzone Date: Fri, 24 Nov 2023 18:26:28 +0800 Subject: [PATCH] fix lint error --- .prettierignore | 2 +- contracts/SmartAccountFactory.sol | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.prettierignore b/.prettierignore index bff58ff..83231df 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,2 @@ -typechain/ +src/types/ lib/forge-std/ diff --git a/contracts/SmartAccountFactory.sol b/contracts/SmartAccountFactory.sol index def192d..6e4c30d 100644 --- a/contracts/SmartAccountFactory.sol +++ b/contracts/SmartAccountFactory.sol @@ -27,9 +27,8 @@ contract SmartAccountFactory { } ret = SmartAccount( payable( - new ERC1967Proxy{salt : bytes32(salt)}( - address(accountImplementation), - abi.encodeCall(SmartAccount.initialize, (handler, validators, data)) + new ERC1967Proxy{salt: bytes32(salt)}( + address(accountImplementation), abi.encodeCall(SmartAccount.initialize, (handler, validators, data)) ) ) );