parent
							
								
									8dccaee0b0
								
							
						
					
					
						commit
						4a0d9cb66f
					
				| @ -107,7 +107,7 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy { | |||||||
|           this.blocks.unshift(block); |           this.blocks.unshift(block); | ||||||
|           this.blocks = this.blocks.slice(0, this.dynamicBlocksAmount); |           this.blocks = this.blocks.slice(0, this.dynamicBlocksAmount); | ||||||
| 
 | 
 | ||||||
|           if (txConfirmed) { |           if (txConfirmed && this.height === block.height) { | ||||||
|             this.markHeight = block.height; |             this.markHeight = block.height; | ||||||
|             this.moveArrowToPosition(true, true); |             this.moveArrowToPosition(true, true); | ||||||
|           } else { |           } else { | ||||||
|  | |||||||
| @ -347,7 +347,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { | |||||||
|     this.blocksSubscription = this.stateService.blocks$.subscribe(([block, txConfirmed]) => { |     this.blocksSubscription = this.stateService.blocks$.subscribe(([block, txConfirmed]) => { | ||||||
|       this.latestBlock = block; |       this.latestBlock = block; | ||||||
| 
 | 
 | ||||||
|       if (txConfirmed && this.tx) { |       if (txConfirmed && this.tx && !this.tx.status.confirmed) { | ||||||
|         this.tx.status = { |         this.tx.status = { | ||||||
|           confirmed: true, |           confirmed: true, | ||||||
|           block_height: block.height, |           block_height: block.height, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user