Skip to content

Commit

Permalink
Fixing BOA-01 from CertiK audit
Browse files Browse the repository at this point in the history
  • Loading branch information
eloi010 committed Dec 18, 2023
1 parent d38d49c commit 0a6084e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/core/base/BaseOpenfortAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ abstract contract BaseOpenfortAccount is
_requireFromEntryPointOrOwner();
if (sessionKeys[_key].validUntil != 0) {
sessionKeys[_key].validUntil = 0;
sessionKeys[_key].limit = 0;
sessionKeys[_key].masterSessionKey = false;
sessionKeys[_key].registrarAddress = address(0);
emit SessionKeyRevoked(_key);
Expand Down

0 comments on commit 0a6084e

Please sign in to comment.