From d2a04db49fa3781b61d8717365f5567c3e08ac36 Mon Sep 17 00:00:00 2001 From: rockstardev <5191402+rockstardev@users.noreply.github.com> Date: Tue, 7 May 2024 13:39:11 -0500 Subject: [PATCH] Cutting off lightning payment so receipt takes less space --- BTCPayServer/Views/UIInvoice/InvoiceReceiptPrint.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Views/UIInvoice/InvoiceReceiptPrint.cshtml b/BTCPayServer/Views/UIInvoice/InvoiceReceiptPrint.cshtml index bc58d6519..10e9f9c7d 100644 --- a/BTCPayServer/Views/UIInvoice/InvoiceReceiptPrint.cshtml +++ b/BTCPayServer/Views/UIInvoice/InvoiceReceiptPrint.cshtml @@ -218,9 +218,9 @@ @if (payment.Destination.Length > 69) { - @payment.Destination[..30] + @payment.Destination[..19] ... - @payment.Destination.Substring(payment.Destination.Length - 30, 30) + @payment.Destination.Substring(payment.Destination.Length - 20, 20) } else