parent
0c979e9440
commit
ccdf41c5b6
@ -43,6 +43,7 @@ export class AddressLabelsComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
this.liquid = 'Emergency Peg Out';
|
this.liquid = 'Emergency Peg Out';
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
@ -51,11 +52,14 @@ export class AddressLabelsComponent implements OnInit {
|
|||||||
].forEach((item) => {
|
].forEach((item) => {
|
||||||
if (item.regexp.test(this.vin.inner_witnessscript_asm)) {
|
if (item.regexp.test(this.vin.inner_witnessscript_asm)) {
|
||||||
this.lightning = item.label;
|
this.lightning = item.label;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (this.lightning) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.vin.inner_witnessscript_asm.indexOf('OP_CHECKMULTISIG') > -1) {
|
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);
|
const matches = this.getMatches(this.vin.inner_witnessscript_asm, /OP_PUSHNUM_([0-9])/g, 1);
|
||||||
this.multisig = true;
|
this.multisig = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user