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 6c4aa23 commit 6face7cCopy full SHA for 6face7c
src/helpers/turbo.ts
@@ -12,7 +12,7 @@ const SCHNAPS_API_URL = process.env.SCHNAPS_API_URL;
12
const NETWORK_PREFIX = process.env.NETWORK === 'mainnet' ? 's:' : 's-tn:';
13
const RUN_INTERVAL = 10 * 1e3; // 10 seconds
14
15
-const provider = snapshot.utils.getProvider(process.env.DEFAULT_NETWORK, {
+const provider = snapshot.utils.getProvider(process.env.DEFAULT_NETWORK ?? '1', {
16
broviderUrl: process.env.BROVIDER_URL || 'https://rpc.snapshot.org'
17
});
18
0 commit comments