Fix flow diagram navigation for coinbases & pegins
This commit is contained in:
		
							parent
							
								
									ae9439a991
								
							
						
					
					
						commit
						20bef70390
					
				@ -365,7 +365,7 @@ export class TxBowtieGraphComponent implements OnInit, OnChanges {
 | 
				
			|||||||
  onClick(event, side, index): void {
 | 
					  onClick(event, side, index): void {
 | 
				
			||||||
    if (side === 'input') {
 | 
					    if (side === 'input') {
 | 
				
			||||||
      const input = this.tx.vin[index];
 | 
					      const input = this.tx.vin[index];
 | 
				
			||||||
      if (input && input.txid && input.vout != null) {
 | 
					      if (input && !input.is_coinbase && !input.is_pegin && input.txid && input.vout != null) {
 | 
				
			||||||
        this.router.navigate([this.relativeUrlPipe.transform('/tx'), input.txid], {
 | 
					        this.router.navigate([this.relativeUrlPipe.transform('/tx'), input.txid], {
 | 
				
			||||||
          queryParamsHandling: 'merge',
 | 
					          queryParamsHandling: 'merge',
 | 
				
			||||||
          fragment: (new URLSearchParams({
 | 
					          fragment: (new URLSearchParams({
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user