Skip to content

Commit acd14be

Browse files
committed
review
1 parent 8980e0c commit acd14be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/mocks/docs/account/modules/MyERC7579DelayedSocialRecovery.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ abstract contract MyERC7579DelayedSocialRecovery is EIP712, ERC7579DelayedExecut
2121
function onInstall(bytes calldata data) public override(ERC7579DelayedExecutor, ERC7579Multisig) {
2222
uint16 executorArgsLength = uint16(bytes2(data[0:2])); // First 2 bytes are the length
2323
bytes calldata executorArgs = data[2:2 + executorArgsLength]; // Next bytes are the args
24-
uint16 multisigArgsLength = uint16(bytes2(data[2 + executorArgsLength:])); // Next 2 bytes are the length
25-
bytes calldata multisigArgs = data[2 + executorArgsLength + 2:2 + executorArgsLength + 2 + multisigArgsLength]; // Next bytes are the args
24+
uint16 multisigArgsLength = uint16(bytes2(data[2 + executorArgsLength:4 + executorArgsLength])); // Next 2 bytes are the length
25+
bytes calldata multisigArgs = data[4 + executorArgsLength:4 + executorArgsLength + multisigArgsLength]; // Next bytes are the args
2626

2727
ERC7579DelayedExecutor.onInstall(executorArgs);
2828
ERC7579Multisig.onInstall(multisigArgs);

0 commit comments

Comments
 (0)