Clear tx pool if txs in are not in poll anymore

This commit is contained in:
everoddandeven 2024-10-21 17:42:26 +02:00
parent 06f3ad43d7
commit 9752f27cc2

View file

@ -474,6 +474,9 @@ export class DaemonDataService {
this._transactionPool = await this.daemonService.getTransactionPool();
this._gettingTransactionPool = false;
}
else if (this._daemonInfo.txPoolSize == 0 && this._transactionPool != undefined) {
this._transactionPool = undefined;
}
this._gettingConnections = true;
this._connections = await this.daemonService.getConnections();