quotes is retrieved from data object not ticker
This commit is contained in:
parent
53faf61702
commit
b59e3c0ef4
|
@ -95,7 +95,7 @@ public class CoinmarketcapRateSource implements IRateSource {
|
||||||
if(data == null){
|
if(data == null){
|
||||||
return 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){
|
if(quotes == null){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue