Rename more legacy fields

This commit is contained in:
nicolas.dorier
2024-10-07 21:14:37 +09:00
parent 968223a953
commit 68f24e47cd
8 changed files with 13 additions and 17 deletions

View File

@@ -910,11 +910,11 @@ namespace BTCPayServer.Controllers
// The Tweak is part of the PaymentMethodFee, but let's not show it in the UI as it's negligible.
NetworkFee = prompt.PaymentMethodFee - prompt.TweakFee,
StoreId = store.Id,
AvailableCryptos = invoice.GetPaymentPrompts()
AvailablePaymentMethods = invoice.GetPaymentPrompts()
.Select(kv =>
{
var handler = _handlers[kv.PaymentMethodId];
return new CheckoutModel.AvailableCrypto
return new CheckoutModel.AvailablePaymentMethod
{
Displayed = displayedPaymentMethods.Contains(kv.PaymentMethodId),
PaymentMethodId = kv.PaymentMethodId,