mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
parent
0c979e9440
commit
ccdf41c5b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user