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:
Andrew Camilleri
2020-01-16 07:01:01 +01:00
committed by Nicolas Dorier
parent 5aefb585e9
commit c269dee980
9 changed files with 15 additions and 41 deletions

View File

@@ -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,