From 0850e2566eff27ae1a3a123f8ff90fa9a26d6770 Mon Sep 17 00:00:00 2001 From: vimageDE Date: Mon, 16 Dec 2024 15:56:26 +0100 Subject: [PATCH] _signers commented --- src/examples/allocator/ServerAllocator.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/examples/allocator/ServerAllocator.sol b/src/examples/allocator/ServerAllocator.sol index be53d47..946177b 100644 --- a/src/examples/allocator/ServerAllocator.sol +++ b/src/examples/allocator/ServerAllocator.sol @@ -26,7 +26,8 @@ contract ServerAllocator is Ownable2Step, EIP712, IServerAllocator { address private immutable _COMPACT_CONTRACT; - mapping(address => uint256) private _signers; + /// @dev mapping of a signer to their index (incremented to skip 0) in _activeSigners + mapping(address signer => uint256 index) private _signers; address[] private _activeSigners; mapping(bytes32 => uint256) private _attestExpirations;