quotes is retrieved from data object not ticker

This commit is contained in:
sidhujag 2018-06-03 18:10:00 -07:00
parent 53faf61702
commit b59e3c0ef4
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class CoinmarketcapRateSource implements IRateSource {
if(data == null){
return null;
}
Map<String, Object> quotes = (Map<String, Object>) ticker.get("quotes");
Map<String, Object> quotes = (Map<String, Object>) data.get("quotes");
if(quotes == null){
return null;
}