From 96ba7f7456e6c61e1e377ca536aa72a4d1a53713 Mon Sep 17 00:00:00 2001 From: softsimon Date: Mon, 14 Mar 2022 19:00:21 +0100 Subject: [PATCH] Remove duplicate websocket push. --- frontend/src/app/components/start/start.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/app/components/start/start.component.ts b/frontend/src/app/components/start/start.component.ts index 9fe4e44e0..0666781b8 100644 --- a/frontend/src/app/components/start/start.component.ts +++ b/frontend/src/app/components/start/start.component.ts @@ -1,5 +1,4 @@ import { Component, ElementRef, HostListener, OnInit, ViewChild } from '@angular/core'; -import { WebsocketService } from 'src/app/services/websocket.service'; import { StateService } from 'src/app/services/state.service'; import { specialBlocks } from 'src/app/app.constants'; @@ -20,12 +19,10 @@ export class StartComponent implements OnInit { @ViewChild('blockchainContainer') blockchainContainer: ElementRef; constructor( - private websocketService: WebsocketService, private stateService: StateService, ) { } ngOnInit() { - this.websocketService.want(['blocks', 'stats', 'mempool-blocks']); this.stateService.blocks$ .subscribe((blocks: any) => { if (this.stateService.network !== '') {