From f6a0ede3868260f0670c9cb7bffa0a21d871a01a Mon Sep 17 00:00:00 2001 From: dimxy Date: Thu, 18 Apr 2019 21:44:46 +0500 Subject: [PATCH] corr priceget params --- 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 a800e9c23..92500e6c0 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -475,7 +475,7 @@ int64_t prices_syntheticprice(std::vector vec, int32_t height, int32_t { case 0: // indices pricestack[depth] = 0; - if (komodo_priceget(pricedata, height, 1, value) == 0) + if (komodo_priceget(pricedata, value, height, 1) == 0) { // push price to the prices stack if (!minmax)