Skip to content

Commit

Permalink
fix: overrides fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael committed Sep 15, 2022
1 parent d7e4b79 commit b6914f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function multicall<R extends Array<any>>(
target: c.address,
callData: c.interface.encodeFunctionData(c.method as string, c.params),
})),
overrides,
overrides || {},
);

return returnData
Expand Down Expand Up @@ -67,7 +67,7 @@ export class MultiCallContract<T extends ethers.utils.Interface> {
c.params,
),
})),
overrides,
overrides || {},
);

return returnData
Expand Down

0 comments on commit b6914f3

Please sign in to comment.