Skip to content

Commit

Permalink
Clear tx pool if txs in are not in poll anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Oct 21, 2024
1 parent 06f3ad4 commit 9752f27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/core/services/daemon/daemon-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9752f27

Please sign in to comment.