[accelerator] fix liquid
This commit is contained in:
parent
35d0e7fae7
commit
9140bcb408
@ -177,9 +177,11 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.showAccelerationSummary = true;
|
this.showAccelerationSummary = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.stateService.isLiquid) {
|
||||||
this.miningService.getMiningStats('1w').subscribe(stats => {
|
this.miningService.getMiningStats('1w').subscribe(stats => {
|
||||||
this.miningStats = stats;
|
this.miningStats = stats;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
this.websocketService.want(['blocks', 'mempool-blocks']);
|
this.websocketService.want(['blocks', 'mempool-blocks']);
|
||||||
this.stateService.networkChanged$.subscribe(
|
this.stateService.networkChanged$.subscribe(
|
||||||
@ -410,6 +412,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.tx.acceleratedBy = txPosition.position.acceleratedBy;
|
this.tx.acceleratedBy = txPosition.position.acceleratedBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.stateService.network === '') {
|
||||||
if (!this.mempoolPosition.accelerated) {
|
if (!this.mempoolPosition.accelerated) {
|
||||||
if (!this.accelerationFlowCompleted && !this.showAccelerationSummary) {
|
if (!this.accelerationFlowCompleted && !this.showAccelerationSummary) {
|
||||||
this.showAccelerationSummary = true;
|
this.showAccelerationSummary = true;
|
||||||
@ -426,6 +429,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.mempoolPosition = null;
|
this.mempoolPosition = null;
|
||||||
this.accelerationPositions = null;
|
this.accelerationPositions = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user