From d048fd88d9c9c61a88564211b8505f7ef5db31b2 Mon Sep 17 00:00:00 2001 From: natsoni Date: Fri, 12 Jun 2026 16:08:07 +0200 Subject: [PATCH] Fix liquid unblinding from fragment --- .../src/app/components/transaction/transaction.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index 459914f91..b08b9729b 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -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() {