From 911462d1aae3734d68ac31cf918afbd5fef7b477 Mon Sep 17 00:00:00 2001 From: dimxy Date: Mon, 29 Apr 2019 21:30:28 +0500 Subject: [PATCH] remove clearing prec in pricesinfo --- src/cc/prices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 302777f84..79a217f16 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -1352,8 +1352,8 @@ UniValue PricesInfo(uint256 bettxid, int32_t refheight) int64_t liqprice; if (leverage != 0) {// prevent zero div liqprice = costbasis - costbasis / leverage; - liqprice /= PRICES_POINTFACTOR; - liqprice *= PRICES_POINTFACTOR; // last posiitons should be == 0000 + //liqprice /= PRICES_POINTFACTOR; + //liqprice *= PRICES_POINTFACTOR; // last posiitons should be == 0000 } else liqprice = 0;