Skip to content

Commit

Permalink
fix: double call to get module data
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed Jun 6, 2024
1 parent 15ba587 commit 3b5f9d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/ModuleKitHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ library ModuleKitHelpers {
internal
returns (UserOpData memory userOpData)
{
data = getInstallModuleData(instance, moduleTypeId, module, data);
userOpData = instance.getInstallModuleOps(
moduleTypeId, module, data, address(instance.defaultValidator)
);
Expand All @@ -53,7 +52,6 @@ library ModuleKitHelpers {
internal
returns (UserOpData memory userOpData)
{
data = getUninstallModuleData(instance, moduleTypeId, module, data);
userOpData = instance.getUninstallModuleOps(
moduleTypeId, module, data, address(instance.defaultValidator)
);
Expand Down

0 comments on commit 3b5f9d7

Please sign in to comment.