commit 2a80f6a3ad1997762734b157a023f8dcd16f2f7f
parent 249e3d496b6f1e6478365d6a2c83faddb735f40d
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 21 Jul 2019 13:28:19 +0200
Merge pull request #5520 from ldz1/exchange-fix
Exchange fix
Diffstat:
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git 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
+}
diff --git 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):