Another bugfix related to the mempool transaction subscription.

This commit is contained in:
softsimon
2020-04-13 02:43:43 +07:00
parent 590f1d2b04
commit e02924e8dd
2 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ export class TransactionComponent implements OnInit, OnDestroy {
),
);
}),
flatMap(() => {
switchMap(() => {
let transactionObservable$: Observable<Transaction>;
if (history.state.data) {
transactionObservable$ = of(history.state.data);