mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Merge pull request #6563 from mempool/natsoni/fix-liquid-unblinding
Fix liquid unblinding
This commit is contained in:
commit
65ef1b2bdb
1 changed files with 2 additions and 2 deletions
|
|
@ -1136,7 +1136,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
}
|
||||
|
||||
private formatFragment(fragmentParams: URLSearchParams, anchor: string | null = null): string | null {
|
||||
const params = new URLSearchParams(fragmentParams.toString());
|
||||
const params = new URLSearchParams(fragmentParams);
|
||||
for (const [key, value] of Array.from(params.entries())) {
|
||||
if (value === '') {
|
||||
params.delete(key);
|
||||
|
|
@ -1145,7 +1145,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
if (anchor) {
|
||||
params.set(anchor, '');
|
||||
}
|
||||
return params.toString() || null;
|
||||
return Array.from(params.entries()).map(([key, value]) => `${key}=${value}`).join('&') || null;
|
||||
}
|
||||
|
||||
toggleGraph() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue