Skip to content

Commit 6face7c

Browse files
authored
fix: assign fallback value (#538)
1 parent 6c4aa23 commit 6face7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/turbo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const SCHNAPS_API_URL = process.env.SCHNAPS_API_URL;
1212
const NETWORK_PREFIX = process.env.NETWORK === 'mainnet' ? 's:' : 's-tn:';
1313
const RUN_INTERVAL = 10 * 1e3; // 10 seconds
1414

15-
const provider = snapshot.utils.getProvider(process.env.DEFAULT_NETWORK, {
15+
const provider = snapshot.utils.getProvider(process.env.DEFAULT_NETWORK ?? '1', {
1616
broviderUrl: process.env.BROVIDER_URL || 'https://rpc.snapshot.org'
1717
});
1818

0 commit comments

Comments
 (0)