diff --git a/src.ts/providers/provider-infura.ts b/src.ts/providers/provider-infura.ts index 21bdeb64c..7757bbcf9 100644 --- a/src.ts/providers/provider-infura.ts +++ b/src.ts/providers/provider-infura.ts @@ -123,7 +123,7 @@ export class InfuraWebSocketProvider extends WebSocketProvider implements Commun "UNSUPPORTED_OPERATION", { operation: "InfuraProvider.getWebSocketProvider()" }); const url = req.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/"); - super(url, network); + super(url, provider._network); defineProperties(this, { projectId: provider.projectId,