mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Cutting off lightning payment so receipt takes less space
This commit is contained in:
parent
7793c5e5df
commit
d2a04db49f
1 changed files with 2 additions and 2 deletions
|
@ -218,9 +218,9 @@
|
|||
@if (payment.Destination.Length > 69)
|
||||
{
|
||||
<span>
|
||||
<span>@payment.Destination[..30]</span>
|
||||
<span>@payment.Destination[..19]</span>
|
||||
<span>...</span>
|
||||
<span>@payment.Destination.Substring(payment.Destination.Length - 30, 30)</span>
|
||||
<span>@payment.Destination.Substring(payment.Destination.Length - 20, 20)</span>
|
||||
</span>
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue