Skip to content

Commit

Permalink
fix(EventAction): fix lint warning for reordered args
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz committed Jan 14, 2025
1 parent c5f8d91 commit 7b94f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/Actions/EventAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ export function decodeAndReorderLogArgs(event: AbiEvent, log: Log) {
}
}

const reorderedArgs = new Array(event.inputs.length);
const reorderedArgs = Array.from({ length: event.inputs.length });
let currentIndex = 0;

// Place the indexed arguments in their original positions
Expand Down

0 comments on commit 7b94f3d

Please sign in to comment.