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 f5f814a commit 1a188b5Copy full SHA for 1a188b5
src/api/alchemy-websocket-provider.ts
@@ -123,7 +123,7 @@ export class AlchemyWebSocketProvider
123
// ethers. This allows the parent super constructor in JsonRpcProvider to
124
// correctly set the network.
125
const ethersNetwork = EthersNetwork[alchemyNetwork];
126
- super(ws as any, ethersNetwork);
+ super(ws as any, ethersNetwork ?? undefined);
127
this.apiKey = apiKey;
128
129
// Start heartbeat and backfiller for the websocket connection.
0 commit comments