Skip to content

Commit

Permalink
fix: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Jan 16, 2024
1 parent 43d5780 commit 3aade6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,5 @@ async function getLogsInBatches<TAbiEvents extends AbiEvent[] | undefined>({
console.log(errors);
throw new Error('Error fetching logs');
}
return results.flat();
return results.flat() as GetLogsReturnType<undefined, TAbiEvents>;
}

0 comments on commit 3aade6e

Please sign in to comment.