Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/02-schema-hook/WhitelistHook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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
Expand Down