From 9752f27cc21b26e0fb0641791d0889c1bcdd00f5 Mon Sep 17 00:00:00 2001 From: everoddandeven Date: Mon, 21 Oct 2024 17:42:26 +0200 Subject: [PATCH] Clear tx pool if txs in are not in poll anymore --- src/app/core/services/daemon/daemon-data.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/core/services/daemon/daemon-data.service.ts b/src/app/core/services/daemon/daemon-data.service.ts index 4c62ee7..a2031fd 100644 --- a/src/app/core/services/daemon/daemon-data.service.ts +++ b/src/app/core/services/daemon/daemon-data.service.ts @@ -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();