Skip to content

Commit

Permalink
feat: add skip fetch setup
Browse files Browse the repository at this point in the history
  • Loading branch information
janndriessen committed Oct 21, 2024
1 parent d5202b3 commit c11838e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/rpc-provider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { JsonRpcProvider } from '@ethersproject/providers'

export function getRpcProvider(rpcUrl: string) {
return new JsonRpcProvider(rpcUrl)
return new JsonRpcProvider({ skipFetchSetup: true, url: rpcUrl })
}

0 comments on commit c11838e

Please sign in to comment.