From 656992811cf02ea46c07dc227ddbc706d8e5b2fb Mon Sep 17 00:00:00 2001 From: dimxy Date: Tue, 30 Apr 2019 00:47:15 +0500 Subject: [PATCH] long double --- src/cc/prices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index c57d932e0..a69f68ba0 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -1334,7 +1334,7 @@ UniValue PricesInfo(uint256 bettxid, int32_t refheight) int64_t totalbets = 0; int64_t totalprofits = 0; - double dcostbasis = 0.0; + long double dcostbasis = 0.0; for (auto b : bets) { totalbets += b.amount; totalprofits += b.profits;