Skip to content

Commit 5b0cc2c

Browse files
committed
Change timeout to 25 sec
1 parent e71d98f commit 5b0cc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const providers = {};
88

99
export default function getProvider(network: string) {
1010
const url: any = networks[network].rpc[0];
11-
const connectionInfo = typeof url === 'object' ? {...url, timeout: 30000} : {url, timeout: 30000};
11+
const connectionInfo = typeof url === 'object' ? {...url, timeout: 25000} : {url, timeout: 25000};
1212
if (!providers[network]) providers[network] = new StaticJsonRpcProvider(connectionInfo);
1313
return providers[network];
1414
}

0 commit comments

Comments
 (0)