Fix rateService. Add usd rates
This commit is contained in:
parent
09d1d5d3ff
commit
a5a80684eb
19 changed files with 87 additions and 80 deletions
|
|
@ -118,9 +118,9 @@ console.log('[rateService.js.84:retry:] BCH'); //TODO
|
|||
};
|
||||
|
||||
RateService.prototype.getRate = function(code, chain) {
|
||||
if (chain = 'bch')
|
||||
if (chain == 'bch')
|
||||
return this._ratesBCH[code];
|
||||
else
|
||||
else
|
||||
return this._rates[code];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue