diff --git a/frontend/src/app/components/address-labels/address-labels.component.ts b/frontend/src/app/components/address-labels/address-labels.component.ts index 4f4cbf7fa..ba6a16016 100644 --- a/frontend/src/app/components/address-labels/address-labels.component.ts +++ b/frontend/src/app/components/address-labels/address-labels.component.ts @@ -43,6 +43,7 @@ export class AddressLabelsComponent implements OnInit { } else { this.liquid = 'Emergency Peg Out'; } + return; } [ @@ -51,11 +52,14 @@ export class AddressLabelsComponent implements OnInit { ].forEach((item) => { if (item.regexp.test(this.vin.inner_witnessscript_asm)) { this.lightning = item.label; - return; } } ); + if (this.lightning) { + return; + } + if (this.vin.inner_witnessscript_asm.indexOf('OP_CHECKMULTISIG') > -1) { const matches = this.getMatches(this.vin.inner_witnessscript_asm, /OP_PUSHNUM_([0-9])/g, 1); this.multisig = true;