diff --git a/contracts/core/base/BaseOpenfortAccount.sol b/contracts/core/base/BaseOpenfortAccount.sol index 2b1f7f1..b3ac876 100644 --- a/contracts/core/base/BaseOpenfortAccount.sol +++ b/contracts/core/base/BaseOpenfortAccount.sol @@ -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);