Browse Source

Merge pull request #5520 from ldz1/exchange-fix

Exchange fix
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
committed by GitHub
parent
commit
2a80f6a3ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      electrum/currencies.json
  2. 7
      electrum/exchange_rate.py

7
electrum/currencies.json

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

7
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):

Loading…
Cancel
Save