detect bare multisigs with handleVout
This commit is contained in:
		
							parent
							
								
									b5ef148b82
								
							
						
					
					
						commit
						493b44d4b9
					
				@ -118,5 +118,6 @@ export class AddressLabelsComponent implements OnInit {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  handleVout() {
 | 
					  handleVout() {
 | 
				
			||||||
 | 
					    this.detectMultisig(this.vout.scriptpubkey_asm);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -155,6 +155,9 @@
 | 
				
			|||||||
                    <span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span>
 | 
					                    <span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span>
 | 
				
			||||||
                    <span class="d-none d-lg-block">{{ vout.scriptpubkey_address | shortenString : 35 }}</span>
 | 
					                    <span class="d-none d-lg-block">{{ vout.scriptpubkey_address | shortenString : 35 }}</span>
 | 
				
			||||||
                  </a>
 | 
					                  </a>
 | 
				
			||||||
 | 
					                  <div>
 | 
				
			||||||
 | 
					                    <app-address-labels [vout]="vout"></app-address-labels>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
                  <ng-template #scriptpubkey_type>
 | 
					                  <ng-template #scriptpubkey_type>
 | 
				
			||||||
                    <ng-template [ngIf]="vout.pegout" [ngIfElse]="defaultscriptpubkey_type">
 | 
					                    <ng-template [ngIf]="vout.pegout" [ngIfElse]="defaultscriptpubkey_type">
 | 
				
			||||||
                      <ng-container i18n="transactions-list.peg-out-to">Peg-out to <ng-container *ngTemplateOutlet="pegOutLink"></ng-container></ng-container>
 | 
					                      <ng-container i18n="transactions-list.peg-out-to">Peg-out to <ng-container *ngTemplateOutlet="pegOutLink"></ng-container></ng-container>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user