mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix LNUrl comment truncating
This commit is contained in:
@@ -307,7 +307,7 @@ namespace BTCPayServer
|
||||
return NotFound();
|
||||
}
|
||||
if (comment is not null)
|
||||
comment = comment.Substring(0, 2000);
|
||||
comment = comment.Truncate(2000);
|
||||
|
||||
var pmi = new PaymentMethodId(cryptoCode, PaymentTypes.LNURLPay);
|
||||
var i = await _invoiceRepository.GetInvoice(invoiceId, true);
|
||||
|
||||
Reference in New Issue
Block a user