Skip to content

Commit

Permalink
Naming the mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
eloi010 committed Nov 16, 2023
1 parent f8b9344 commit eab4a95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/core/BaseOpenfortAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ abstract contract BaseOpenfortAccount is
uint48 limit;
bool masterSessionKey;
bool whitelising;
mapping(address => bool) whitelist;
mapping(address contractAddress => bool allowed) whitelist;
address registrarAddress;
}

mapping(address => SessionKeyStruct) public sessionKeys;
mapping(address sessionKey => SessionKeyStruct sessionKeyData) public sessionKeys;

event AccountCreated(address indexed creator);
event SessionKeyRegistered(address indexed key);
Expand Down
2 changes: 1 addition & 1 deletion contracts/core/recoverable/RecoverableOpenfortAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contract RecoverableOpenfortAccount is BaseOpenfortAccount, Ownable2StepUpgradea

struct GuardiansConfig {
address[] guardians; // list of guardian addresses
mapping(address => GuardianInfo) info; // info about guardians
mapping(address guardianAddress => GuardianInfo guardianInfo) info; // info about guardians
uint256 lock; // Lock's release timestamp
}

Expand Down

0 comments on commit eab4a95

Please sign in to comment.