From f7912ee8f4a8060bca580b5106576afac17344ea Mon Sep 17 00:00:00 2001 From: dimxy Date: Fri, 19 Apr 2019 13:47:14 +0500 Subject: [PATCH] more pricedata log --- 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 ef47c5f7f..12d91ad74 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -478,7 +478,7 @@ int64_t prices_syntheticprice(std::vector vec, int32_t height, int32_t pricestack[depth] = 0; if (komodo_priceget(pricedata, value, height, 1) >= 0) { - std::cerr << "prices_syntheticprice" << " pricedata[0]=" << pricedata[0] << " pricedata[1]=" << pricedata[1] << " pricedata[2]=" << pricedata[2] << std::endl; + std::cerr << "prices_syntheticprice" << " pricedata[0]=" << pricedata[0] << " pricedata[1]=" << pricedata[1] << " pricedata[2]=" << pricedata[2] << " pricedata_int32[2]=" << *((uint32_t*)pricedata[2]) << std::endl; // push price to the prices stack if (!minmax) pricestack[depth] = pricedata[2]; // use smoothed value if we are over 24h