Skip to content

Commit

Permalink
🎨 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipp Makarov authored and Filipp Makarov committed Dec 11, 2023
1 parent 0bcc21d commit dee4956
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/smart-account/modules/MultiOwnedECDSAModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ contract MultiOwnedECDSAModule is
revert AlreadyInitedForSmartAccount(msg.sender);
}
uint256 ownersToAdd = eoaOwners.length;
if (ownersToAdd == 0)
revert NoOwnersToAdd();
if (ownersToAdd == 0) revert NoOwnersToAdd();
for (uint256 i; i < ownersToAdd; ) {
if (eoaOwners[i] == address(0))
revert ZeroAddressNotAllowedAsOwner();
Expand Down

0 comments on commit dee4956

Please sign in to comment.