mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Fix method call to BitcoinAverage
This commit is contained in:
parent
6bd191966e
commit
80bf9952e8
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class ExchangeBase(PrintError):
|
|||
|
||||
|
||||
class BitcoinAverage(ExchangeBase):
|
||||
def update(self, ccy):
|
||||
def get_rates(self, ccy):
|
||||
json = self.get_json('api.bitcoinaverage.com', '/ticker/global/all')
|
||||
return dict([(r, Decimal(json[r]['last']))
|
||||
for r in json if r != 'timestamp'])
|
||||
|
|
Loading…
Add table
Reference in a new issue