name tapscript by its name + OP_CHECKSIGADD tapscript opcode detection
This commit is contained in:
@@ -111,7 +111,10 @@
|
||||
<td style="text-align: left;" [innerHTML]="vin.inner_redeemscript_asm | asmStyler"></td>
|
||||
</tr>
|
||||
<tr *ngIf="vin.inner_witnessscript_asm">
|
||||
<td i18n="transactions-list.p2wsh-witness-script">P2WSH witness script</td>
|
||||
<td *ngIf="vin.prevout && vin.prevout.scriptpubkey_type == 'v1_p2tr'; else p2wsh" i18n="transactions-list.p2tr-tapscript">P2TR tapscript</td>
|
||||
<ng-template #p2wsh>
|
||||
<td i18n="transactions-list.p2wsh-witness-script">P2WSH witness script</td>
|
||||
</ng-template>
|
||||
<td style="text-align: left;" [innerHTML]="vin.inner_witnessscript_asm | asmStyler"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -281,6 +281,7 @@ export class AsmStylerPipe implements PipeTransform {
|
||||
case 'CHECKSIGVERIFY':
|
||||
case 'CHECKMULTISIG':
|
||||
case 'CHECKMULTISIGVERIFY':
|
||||
case 'CHECKSIGADD':
|
||||
style = 'crypto';
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user