Fix rateService. Add usd rates

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-28 15:51:13 -03:00
commit a5a80684eb
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
19 changed files with 87 additions and 80 deletions

View file

@ -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];
};