UTXO spent tracking refactor

refs #1301
This commit is contained in:
softsimon committed 2022-03-07 19:45:09 +01:00
1 parent f6a73aa91c
commit 01ff8f79a8
6 files changed
+59 -44

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ export class StateService {
mempoolInfo$ = new ReplaySubject<MempoolInfo>(1);
mempoolBlocks$ = new ReplaySubject<MempoolBlock[]>(1);
txReplaced$ = new Subject<Transaction>();
utxoSpent$ = new Subject<null>();
utxoSpent$ = new Subject<object>();
mempoolTransactions$ = new Subject<Transaction>();
blockTransactions$ = new Subject<Transaction>();
isLoadingWebSocket$ = new ReplaySubject<boolean>(1);
@@ -252,7 +252,7 @@ export class WebsocketService {
}
if (response.utxoSpent) {
this.stateService.utxoSpent$.next();
this.stateService.utxoSpent$.next(response.utxoSpent);
}
if (response.backendInfo) {