btcpayserver/BTCPayServer/Plugins/LightningAddressResolver.cs
d11n 8ae9e59d9d
Lightning Address: Use lowercased username when resolving (#5579)
* Lightning Address: Use lowercased username when resolving

* Use static NormalizeUsername
2023-12-21 23:42:17 +09:00

10 lines
259 B
C#

using LNURL;
namespace BTCPayServer.Plugins;
public class LightningAddressResolver(string username)
{
public string Username { get; set; } = LightningAddressService.NormalizeUsername(username);
public LNURLPayRequest LNURLPayRequest { get; set; }
}