mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Allow invoice creation to only allow specific payment methods in UI (#792)
* allow invoice creation to only allow specific payment methods * add test * reuse existing feature * final fixes
This commit is contained in:
committed by
Nicolas Dorier
parent
4bc03fbf06
commit
b5f4739ae5
@@ -160,7 +160,6 @@ namespace BTCPayServer.Controllers
|
||||
|
||||
var rateRules = storeBlob.GetRateRules(_NetworkProvider);
|
||||
var fetchingByCurrencyPair = _RateProvider.FetchRates(currencyPairsToFetch, rateRules, cancellationToken);
|
||||
|
||||
var fetchingAll = WhenAllFetched(logs, fetchingByCurrencyPair);
|
||||
var supportedPaymentMethods = store.GetSupportedPaymentMethods(_NetworkProvider)
|
||||
.Where(s => !excludeFilter.Match(s.PaymentId))
|
||||
|
||||
Reference in New Issue
Block a user