mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Liquid changes (#1281)
Add assetid to bip21 for liquid change liquid icons change liquid asset name change currency code displayed in checkout to one set in network
This commit is contained in:
committed by
Nicolas Dorier
parent
5aefb585e9
commit
c269dee980
@@ -276,7 +276,7 @@ namespace BTCPayServer.Controllers
|
||||
return new PaymentModel.AvailableCrypto()
|
||||
{
|
||||
PaymentMethodId = kv.GetId().ToString(),
|
||||
CryptoCode = kv.GetId().CryptoCode,
|
||||
CryptoCode = kv.Network?.CryptoCode ?? kv.GetId().CryptoCode,
|
||||
PaymentMethodName = availableCryptoHandler.GetPaymentMethodName(availableCryptoPaymentMethodId),
|
||||
IsLightning =
|
||||
kv.GetId().PaymentType == PaymentTypes.LightningLike,
|
||||
|
||||
Reference in New Issue
Block a user