Fixes arrow position on confirmed blocks

fixes #3294
This commit is contained in:
softsimon committed 2023-03-10 18:35:26 +09:00
1 parent 8dccaee0b0
commit 4a0d9cb66f
2 files changed
+2 -2

No files matched your search

@@ -107,7 +107,7 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy {
this.blocks.unshift(block);
this.blocks = this.blocks.slice(0, this.dynamicBlocksAmount);
if (txConfirmed) {
if (txConfirmed && this.height === block.height) {
this.markHeight = block.height;
this.moveArrowToPosition(true, true);
} else {