Merge pull request #4975 from mempool/nymkappa/mini-branch

[accelerator] polish pizza accel
This commit is contained in:
wiz
2024-04-16 17:11:55 +09:00
committed by GitHub
10 changed files with 185 additions and 163 deletions

View File

@@ -747,11 +747,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
}
resetTransaction() {
if (!this.firstLoad) {
this.stateService.ref = '';
} else {
this.firstLoad = false;
}
this.firstLoad = false;
this.error = undefined;
this.tx = null;
this.setFeatures();
@@ -847,7 +843,6 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
}
ngOnDestroy() {
this.stateService.ref = '';
this.subscription.unsubscribe();
this.fetchCpfpSubscription.unsubscribe();
this.fetchRbfSubscription.unsubscribe();