mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
parent
0c979e9440
commit
ccdf41c5b6
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue