mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Allow only 2k chars in LNURL comments
This commit is contained in:
parent
557594e34d
commit
292d302a3d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue