Skip to content

Commit

Permalink
fix: cleanup storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Aug 8, 2024
1 parent c2568b1 commit 35e3e17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/periphery/contracts/static-a-token/StaticATokenLM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ contract StaticATokenLM is
emit Initialized(newAToken, staticATokenName, staticATokenSymbol);
}

///@inheritdoc IInitializableStaticATokenLM
function upgradeInitialize() external initializer {
require(__deprecated != 0, 'MUST_ALREADY_BE_INITIALIZED');
require(__deprecated != 0, 'MUST_ALREADY_BE_INITIALIZED');
__deprecated = 0; // cleanup storage
}

/// @inheritdoc IRescuable
Expand Down

0 comments on commit 35e3e17

Please sign in to comment.