Improve deferred mempool visualization updates

This commit is contained in:
Mononaut
2024-05-04 17:08:38 +00:00
parent 8ec5dd70e0
commit 56a0d89b88
2 changed files with 9 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ export class MempoolBlockOverviewComponent implements OnInit, OnDestroy, OnChang
if (blockMined) {
this.blockGraph.update(delta.added, delta.removed, delta.changed || [], blockMined ? this.chainDirection : this.poolDirection, blockMined);
} else {
this.blockGraph.queueUpdate(delta.added, delta.removed, delta.changed || [], this.poolDirection);
this.blockGraph.deferredUpdate(delta.added, delta.removed, delta.changed || [], this.poolDirection);
}
}