Skip to content

Commit

Permalink
Changing static json rpc provider
Browse files Browse the repository at this point in the history
  • Loading branch information
sleyter93 committed Aug 18, 2023
1 parent ee1e8f8 commit 0619fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getRnsResolver = (chainId: ChainTypesByIdType) =>

export const createRIFWalletFactory =
(onRequest: OnRequest, chainId: ChainTypesByIdType) => (wallet: Wallet) => {
const jsonRpcProvider = new providers.JsonRpcProvider(
const jsonRpcProvider = new providers.StaticJsonRpcProvider(
getWalletSetting(SETTINGS.RPC_URL, chainTypesById[chainId]),
)
const rifRelayConfig: RifRelayConfig = {
Expand Down

0 comments on commit 0619fef

Please sign in to comment.