From 7dda20c49286bb04c8558a1d03f227fff5add77e Mon Sep 17 00:00:00 2001 From: ldz1 <43045711+ldz1@users.noreply.github.com> Date: Sun, 21 Jul 2019 13:13:51 +0200 Subject: [PATCH 1/2] Removed dead exchange. --- electrum/currencies.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/electrum/currencies.json b/electrum/currencies.json index 657072bef..ee04e65b7 100644 --- a/electrum/currencies.json +++ b/electrum/currencies.json @@ -352,10 +352,7 @@ ], "Bitcointoyou": [ "BRL" - ], - "Bitmarket": [ - "PLN" - ], + ], "Bitso": [ "MXN" ], @@ -895,4 +892,4 @@ "JPY" ], "itBit": [] -} \ No newline at end of file +} From d17489e9710d6d9ac58af45aecc8f2b8cb2af58e Mon Sep 17 00:00:00 2001 From: ldz1 <43045711+ldz1@users.noreply.github.com> Date: Sun, 21 Jul 2019 13:15:06 +0200 Subject: [PATCH 2/2] Removed dead exchange. --- electrum/exchange_rate.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/electrum/exchange_rate.py b/electrum/exchange_rate.py index 2f26ff5d1..40d4bb2e9 100644 --- a/electrum/exchange_rate.py +++ b/electrum/exchange_rate.py @@ -190,13 +190,6 @@ class BitFlyer(ExchangeBase): return {'JPY': Decimal(json['mid'])} -class Bitmarket(ExchangeBase): - - async def get_rates(self, ccy): - json = await self.get_json('www.bitmarket.pl', '/json/BTCPLN/ticker.json') - return {'PLN': Decimal(json['last'])} - - class BitPay(ExchangeBase): async def get_rates(self, ccy):