From 3aade6edfd786bcada9bf007bff6f649459e61cb Mon Sep 17 00:00:00 2001 From: sakulstra Date: Tue, 16 Jan 2024 16:30:21 +0100 Subject: [PATCH] fix: update type --- src/rpc/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/helpers.ts b/src/rpc/helpers.ts index b796d20..c0bca34 100644 --- a/src/rpc/helpers.ts +++ b/src/rpc/helpers.ts @@ -253,5 +253,5 @@ async function getLogsInBatches({ console.log(errors); throw new Error('Error fetching logs'); } - return results.flat(); + return results.flat() as GetLogsReturnType; }