We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e71d98f commit 5b0cc2cCopy full SHA for 5b0cc2c
src/utils/provider.ts
@@ -8,7 +8,7 @@ const providers = {};
8
9
export default function getProvider(network: string) {
10
const url: any = networks[network].rpc[0];
11
- const connectionInfo = typeof url === 'object' ? {...url, timeout: 30000} : {url, timeout: 30000};
+ const connectionInfo = typeof url === 'object' ? {...url, timeout: 25000} : {url, timeout: 25000};
12
if (!providers[network]) providers[network] = new StaticJsonRpcProvider(connectionInfo);
13
return providers[network];
14
}
0 commit comments