From b30cea65b9ece4e84e2613346dc26ba8933ec7f9 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:25:11 +0200 Subject: [PATCH] Update WhitelistHook.sol --- src/02-schema-hook/WhitelistHook.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/02-schema-hook/WhitelistHook.sol b/src/02-schema-hook/WhitelistHook.sol index aad7828..7b85869 100644 --- a/src/02-schema-hook/WhitelistHook.sol +++ b/src/02-schema-hook/WhitelistHook.sol @@ -7,7 +7,7 @@ import { ISPHook } from "@ethsign/sign-protocol-evm/src/interfaces/ISPHook.sol"; // @dev This contract manages the whitelist. We are separating the whitelist logic from the hook to make things easier // to read. -contract WhitelistMananger is Ownable { +contract WhitelistManager is Ownable { mapping(address attester => bool allowed) public whitelist; error UnauthorizedAttester(); @@ -25,7 +25,7 @@ contract WhitelistMananger is Ownable { } // @dev This contract implements the actual schema hook. -contract WhitelistHook is ISPHook, WhitelistMananger { +contract WhitelistHook is ISPHook, WhitelistManager { function didReceiveAttestation( address attester, uint64, // schemaId