Skip to content

Commit 0e9e310

Browse files
authored
Update utils.ts
1 parent 36142bc commit 0e9e310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function multicall(
4747
);
4848
const itf = new Interface(abi);
4949
try {
50-
const max = options.limit || 1000;
50+
const max = options?.limit || 1000;
5151
const pages = Math.ceil(calls.length / max);
5252
const promises: any = [];
5353
Array.from(Array(pages)).forEach((x, i) => {

0 commit comments

Comments
 (0)