price is double
This commit is contained in:
parent
b59e3c0ef4
commit
5be8f10551
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue