Greenfield quality of life improvements from feedback (#2880)

* Greenfield quality of life improvements from feedback

fix #2854

* Greenfield quality of life improvements from feedback

fix #2855
This commit is contained in:
Andrew Camilleri
2021-09-25 07:04:34 +02:00
committed by GitHub
parent ef70f4d547
commit 9f6c7180b2
15 changed files with 62 additions and 45 deletions

View File

@@ -38,6 +38,7 @@ namespace BTCPayServer.Controllers.GreenField
method => method.PaymentId.ToStringNormalized(),
method => new GenericPaymentMethodData()
{
CryptoCode = method.PaymentId.CryptoCode,
Enabled = enabled.GetValueOrDefault(!excludedPaymentMethods.Match(method.PaymentId)),
Data = method.PaymentId.PaymentType.GetGreenfieldData(method)
}));