Skip to content

Commit

Permalink
fix: restore "initializer" tag
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   contracts/samples/HybridAccount.sol
	modified:   contracts/samples/SimpleAccount.sol
  • Loading branch information
mmontour1306 committed Oct 1, 2024
1 parent 46a3d4b commit c79c0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/samples/HybridAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ contract HybridAccount is BaseAccount, TokenCallbackHandler, UUPSUpgradeable, In
* a new implementation of HybridAccount must be deployed with the new EntryPoint address, then upgrading
* the implementation by calling `upgradeTo()`
*/
function initialize(address anOwner) public virtual /*initializer*/ {
function initialize(address anOwner) public virtual initializer {
_initialize(anOwner);
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/samples/SimpleAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ contract SimpleAccount is BaseAccount, TokenCallbackHandler, UUPSUpgradeable, In
* a new implementation of SimpleAccount must be deployed with the new EntryPoint address, then upgrading
* the implementation by calling `upgradeTo()`
*/
function initialize(address anOwner) public virtual /*initializer*/ {
function initialize(address anOwner) public virtual initializer {
_initialize(anOwner);
}

Expand Down

0 comments on commit c79c0f5

Please sign in to comment.