Merge pull request #5520 from ldz1/exchange-fix

Exchange fix
This commit is contained in:
ThomasV 2019-07-21 13:28:19 +02:00 committed by GitHub
commit 2a80f6a3ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View file

@ -352,10 +352,7 @@
], ],
"Bitcointoyou": [ "Bitcointoyou": [
"BRL" "BRL"
], ],
"Bitmarket": [
"PLN"
],
"Bitso": [ "Bitso": [
"MXN" "MXN"
], ],
@ -895,4 +892,4 @@
"JPY" "JPY"
], ],
"itBit": [] "itBit": []
} }

View file

@ -190,13 +190,6 @@ class BitFlyer(ExchangeBase):
return {'JPY': Decimal(json['mid'])} 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): class BitPay(ExchangeBase):
async def get_rates(self, ccy): async def get_rates(self, ccy):