Skip to content

Commit

Permalink
fix(provider): only check for perform
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Aug 23, 2023
1 parent 9a98c5c commit 828fdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ export const getMulticall = (
export const isProviderCompatible = (provider: Provider): provider is MinimalProvider => {
const candidate = provider as MinimalProvider;

return candidate._isProvider && !!candidate.network && !!candidate.perform;
return candidate._isProvider && !!candidate.perform;
};

0 comments on commit 828fdb1

Please sign in to comment.