From f5df43a26568f225d13213b2949b7844127af31a Mon Sep 17 00:00:00 2001 From: Nelson Taveras <4562733+nvtaveras@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:56:46 -0400 Subject: [PATCH] chore: linter --- src/utils/get-time-lock-id.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/get-time-lock-id.ts b/src/utils/get-time-lock-id.ts index 72bbc19..aacb06a 100644 --- a/src/utils/get-time-lock-id.ts +++ b/src/utils/get-time-lock-id.ts @@ -34,7 +34,6 @@ async function getTransactionReceiptAndDecodeLogs( console.log("Decoded event log", decodedLog); - // @ts-ignore const { targets, values, calldatas, description } = decodedLog.args; const descriptionHash = keccak256(Buffer.from(description)); @@ -75,4 +74,6 @@ async function main() { await getTransactionReceiptAndDecodeLogs(client, TX_HASH); } -main().then(() => {}); +main().catch((error: unknown) => { + console.error("Error while getting time-lock id", error); +});