mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Allow only 2k chars in LNURL comments
This commit is contained in:
parent
557594e34d
commit
292d302a3d
@ -306,6 +306,8 @@ namespace BTCPayServer
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
if (comment is not null)
|
||||
comment = comment.Substring(0, 2000);
|
||||
|
||||
var pmi = new PaymentMethodId(cryptoCode, PaymentTypes.LNURLPay);
|
||||
var i = await _invoiceRepository.GetInvoice(invoiceId, true);
|
||||
|
Loading…
Reference in New Issue
Block a user