Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroknots committed Feb 21, 2024
1 parent 12ce8f1 commit 020ae75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/core/TrustManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
pragma solidity ^0.8.24;

import { AttestationRecord, PackedModuleTypes, ModuleType, TrustedAttesterRecord } from "../DataTypes.sol";
import { ZERO_TIMESTAMP, ZERO_MODULE_TYPE, ZERO_ADDRESS } from "../Common.sol";
import { ZERO_MODULE_TYPE, ZERO_ADDRESS } from "../Common.sol";
// solhint-disable-next-line no-unused-import
import { IRegistry, IERC7484 } from "../IRegistry.sol";
import { ModuleTypeLib } from "../lib/ModuleTypeLib.sol";
import { TrustLib } from "../lib/TrustLib.sol";
import { LibSort } from "solady/utils/LibSort.sol";

import "forge-std/console2.sol";

/**
* @title TrustManager
* Allows smart accounts to query the registry for the security status of modules.
Expand Down Expand Up @@ -127,7 +125,6 @@ abstract contract TrustManager is IRegistry {
attester = $trustedAttesters.linkedAttesters[attester];
$attestation = $getAttestation({ module: module, attester: attester });
if ($attestation.checkValid(moduleType)) threshold--;
console2.log("threshold: ", threshold);
// if threshold reached, exit loop
if (threshold == 0) return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/TrustManagerExternalAttesterList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.24;

import { AttestationRecord, ModuleType } from "../DataTypes.sol";
import { ZERO_MODULE_TYPE, ZERO_TIMESTAMP } from "../Common.sol";
import { ZERO_MODULE_TYPE } from "../Common.sol";
// solhint-disable-next-line no-unused-import
import { IRegistry, IERC7484 } from "../IRegistry.sol";
import { TrustManager } from "./TrustManager.sol";
Expand Down

0 comments on commit 020ae75

Please sign in to comment.