tMerge pull request #5211 from FrancisPouliot/master - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 5b6357d47285514827615ffcc7da4356ef0eca15
 (DIR) parent bdb6d65cf7322a56e0f6ffb388995f5ad33f9932
 (HTM) Author: ghost43 <somber.night@protonmail.com>
       Date:   Wed, 27 Mar 2019 19:03:49 +0100
       
       Merge pull request #5211 from FrancisPouliot/master
       
       Add Bylls BTC/CAD rates 
       Diffstat:
         M electrum/currencies.json            |       3 +++
         M electrum/exchange_rate.py           |       7 +++++++
       
       2 files changed, 10 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/electrum/currencies.json b/electrum/currencies.json
       t@@ -386,6 +386,9 @@
                "TWD",
                "USD"
            ],
       +    "Bylls": [
       +        "CAD"
       +    ],
            "CoinCap": [
                "USD"
            ],
 (DIR) diff --git a/electrum/exchange_rate.py b/electrum/exchange_rate.py
       t@@ -238,6 +238,13 @@ class BlockchainInfo(ExchangeBase):
                return dict([(r, Decimal(json[r]['15m'])) for r in json])
        
        
       +class Bylls(ExchangeBase):
       +
       +    async def get_rates(self, ccy):
       +        json = await self.get_json('bylls.com', '/api/price?from_currency=BTC&to_currency=CAD')
       +        return {'CAD': Decimal(json['public_price']['to_price'])}
       +
       +
        class Coinbase(ExchangeBase):
        
            async def get_rates(self, ccy):