Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Feb 4, 2025
1 parent d3aa593 commit 3e6ef60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function tryAll<T>(
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);
}
Expand Down Expand Up @@ -173,7 +173,7 @@ async function tryEach<T>(
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);
}
Expand Down

0 comments on commit 3e6ef60

Please sign in to comment.