From 350f35b08dc181186b7cd3e249e1e561b308e3e0 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 13 Feb 2023 23:39:55 +0900 Subject: [PATCH] Add code comment --- BTCPayServer/Controllers/UILNURLController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTCPayServer/Controllers/UILNURLController.cs b/BTCPayServer/Controllers/UILNURLController.cs index 3bf7843f1..f95836a7a 100644 --- a/BTCPayServer/Controllers/UILNURLController.cs +++ b/BTCPayServer/Controllers/UILNURLController.cs @@ -119,6 +119,8 @@ namespace BTCPayServer LightMoneyUnit.BTC), Tag = "withdrawRequest", Callback = new Uri(Request.GetCurrentUrl()), + // It's not `pp.GetBlob().Description` because this would be HTML + // and LNUrl UI's doesn't expect HTML there DefaultDescription = pp.GetBlob().Name ?? String.Empty, }; if (pr is null)