From 3e6ef60d5a070e3f7fab00623d0910d9fe943732 Mon Sep 17 00:00:00 2001 From: Daniel Schiavini Date: Tue, 4 Feb 2025 08:51:05 +0100 Subject: [PATCH] fix: lint --- src/call.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/call.ts b/src/call.ts index f1a3571..80be947 100644 --- a/src/call.ts +++ b/src/call.ts @@ -123,7 +123,7 @@ async function tryAll( const params = Abi.decode(name, outputs, result.returnData); const data = outputs.length === 1 ? params[0] : params; callResult.push(data); - } catch (e) { + } catch { // Failed to decode the data: most likely calling non-existing contract callResult.push(null); } @@ -173,7 +173,7 @@ async function tryEach( const params = Abi.decode(name, outputs, result.returnData); const data = outputs.length === 1 ? params[0] : params; callResult.push(data); - } catch (e) { + } catch { // Failed to decode the data: most likely calling non-existing contract callResult.push(null); }