From 884acdde322429a46390c5a76001f1b37efa5a5c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 16 Jan 2019 00:08:17 +0900 Subject: [PATCH] Disabled POLIS and Bitcoin because default exchange (cryptopedia) is down --- BTCPayServer/BTCPayNetworkProvider.cs | 6 ++++-- BTCPayServer/Services/Rates/RateProviderFactory.cs | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/BTCPayNetworkProvider.cs b/BTCPayServer/BTCPayNetworkProvider.cs index b7ad6fa50..0cf2aab5b 100644 --- a/BTCPayServer/BTCPayNetworkProvider.cs +++ b/BTCPayServer/BTCPayNetworkProvider.cs @@ -47,12 +47,14 @@ namespace BTCPayServer NetworkType = networkType; InitBitcoin(); InitLitecoin(); - InitBitcore(); + // Disabled because of https://twitter.com/Cryptopia_NZ/status/1085084168852291586 + //InitBitcore(); InitDogecoin(); InitBitcoinGold(); InitMonacoin(); InitDash(); - InitPolis(); + // Disabled because of https://twitter.com/Cryptopia_NZ/status/1085084168852291586 + //InitPolis(); InitFeathercoin(); InitGroestlcoin(); InitViacoin(); diff --git a/BTCPayServer/Services/Rates/RateProviderFactory.cs b/BTCPayServer/Services/Rates/RateProviderFactory.cs index c24fbd8f9..e31f2291c 100644 --- a/BTCPayServer/Services/Rates/RateProviderFactory.cs +++ b/BTCPayServer/Services/Rates/RateProviderFactory.cs @@ -104,6 +104,7 @@ namespace BTCPayServer.Services.Rates Providers.Add("hitbtc", new ExchangeSharpRateProvider("hitbtc", new ExchangeHitbtcAPI(), false)); // Cryptopia is often not available + // Disabled because of https://twitter.com/Cryptopia_NZ/status/1085084168852291586 // Providers.Add("cryptopia", new ExchangeSharpRateProvider("cryptopia", new ExchangeCryptopiaAPI(), false)); // Handmade providers