price is double

This commit is contained in:
sidhujag 2018-06-03 18:11:57 -07:00
parent b59e3c0ef4
commit 5be8f10551
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ public class CoinmarketcapRateSource implements IRateSource {
if(quote == null){
return null;
}
BigDecimal price = (BigDecimal) quote.get("price");
return price;
double price = (double) quote.get("price");
return new BigDecimal(price);
}
}