[Feature] Can configure fallback rates

This commit is contained in:
nicolas.dorier
2025-05-02 15:55:58 +09:00
parent 3ce5542eed
commit 9dc1aeda72
28 changed files with 1221 additions and 725 deletions

View File

@@ -876,7 +876,7 @@ namespace BTCPayServer.Controllers
throw new Exception("Store not found");
var storeData = store.GetStoreBlob();
var rateRules = storeData.GetRateRules(_defaultRules);
rateRules.Spread = 0.0m;
storeData.Spread = 0.0m;
var currencyPair = new CurrencyPair(walletId.CryptoCode, storeData.DefaultCurrency);
using CancellationTokenSource cts = new();