Skip to content

Commit

Permalink
fix: decoding hook return data
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed Jul 3, 2024
1 parent e4ecf4e commit 99c4540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mocks/MockHookMultiPlexer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ contract MockHookMultiPlexer is ERC7579HookBase {
)
);
if (!success) revert PreCheckFailed(_hook.hook);
_hookData[i] = _ret;
_hookData[i] = abi.decode(_ret, (bytes));
}
hookData = abi.encode(_hookData);
}
Expand Down

0 comments on commit 99c4540

Please sign in to comment.