Skip to content

Commit

Permalink
Refactor: static network in JsonRpcProvider (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh authored Aug 27, 2024
1 parent aaaf44c commit 3f1fafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol-kit/src/SafeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SafeProvider {
signer?: SafeSigner
}) {
if (typeof provider === 'string') {
this.#externalProvider = new JsonRpcProvider(provider)
this.#externalProvider = new JsonRpcProvider(provider, undefined, { staticNetwork: true })
} else {
this.#externalProvider = new BrowserProvider(provider)
}
Expand Down

0 comments on commit 3f1fafa

Please sign in to comment.