diff --git a/src/interfaces/IModularAccountView.sol b/src/interfaces/IModularAccountView.sol index 5825652e..ac1b1c20 100644 --- a/src/interfaces/IModularAccountView.sol +++ b/src/interfaces/IModularAccountView.sol @@ -6,7 +6,7 @@ import {HookConfig, ModuleEntity, ValidationFlags} from "../interfaces/IModularA /// @dev Represents data associated with a specific function selector. struct ExecutionDataView { // The module that implements this execution function. - // If this is a native function, the address must remain address(0). + // If this is a native function, the address must be the address of the account. address module; // Whether or not the function needs runtime validation, or can be called by anyone. The function can still be // state changing if this flag is set to true. diff --git a/standard/ERCs/erc-6900.md b/standard/ERCs/erc-6900.md index 6adb20ad..36d6db91 100644 --- a/standard/ERCs/erc-6900.md +++ b/standard/ERCs/erc-6900.md @@ -226,7 +226,7 @@ Module inspection interface. Modular accounts MAY implement this interface to su /// @dev Represents data associated with a specific function selector. struct ExecutionDataView { // The module that implements this execution function. - // If this is a native function, the address must remain address(0). + // If this is a native function, the address must be the address of the account. address module; // Whether or not the function needs runtime validation, or can be called by anyone. The function can still be // state changing if this flag is set to true.