From d1c206b347da8b112e884e09135be4b9fbb310f5 Mon Sep 17 00:00:00 2001 From: dimxy Date: Fri, 26 Apr 2019 00:01:59 +0500 Subject: [PATCH] corr addrindex --- src/cc/prices.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 362967e53..a86791ddd 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -1341,7 +1341,7 @@ UniValue PricesInfo(uint256 bettxid, int32_t refheight) UniValue PricesList(uint32_t filter, CPubKey mypk) { UniValue result(UniValue::VARR); - std::vector > addressIndex; + std::vector > addressIndex, addressIndexCC; struct CCcontract_info *cp, C; @@ -1391,8 +1391,8 @@ UniValue PricesList(uint32_t filter, CPubKey mypk) priceslist(it); } - SetCCtxids(addressIndex, cp->unspendableCCaddr, true); // cc marker - for (std::vector >::const_iterator it = addressIndex.begin(); it != addressIndex.end(); it++) + SetCCtxids(addressIndexCC, cp->unspendableCCaddr, true); // cc marker + for (std::vector >::const_iterator it = addressIndexCC.begin(); it != addressIndexCC.end(); it++) { priceslist(it); }