Add missing websocket subscription to faucet component
This commit is contained in:
parent
f8144bd9a0
commit
72f4d811c1
@ -59,6 +59,7 @@ export class FaucetComponent implements OnInit, OnDestroy {
|
|||||||
this.initForm(5000, 500000);
|
this.initForm(5000, 500000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.websocketService.want(['blocks', 'mempool-blocks']);
|
||||||
this.mempoolPositionSubscription = this.stateService.mempoolTxPosition$.subscribe(txPosition => {
|
this.mempoolPositionSubscription = this.stateService.mempoolTxPosition$.subscribe(txPosition => {
|
||||||
if (txPosition && txPosition.txid === this.txid) {
|
if (txPosition && txPosition.txid === this.txid) {
|
||||||
this.stateService.markBlock$.next({
|
this.stateService.markBlock$.next({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user