From bedac1d5c6a6bd2982603dff03ca117ba70f61ac Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Sep 2018 00:17:47 -1100 Subject: [PATCH] Test --- src/cc/oracles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/oracles.cpp b/src/cc/oracles.cpp index 9f6edb137..59a852462 100644 --- a/src/cc/oracles.cpp +++ b/src/cc/oracles.cpp @@ -425,7 +425,7 @@ int64_t OracleCorrelatedPrice(int32_t height,std::vector origprices) int32_t oracleprice_add(std::vector &publishers,CPubKey pk,int32_t height,std::vector data,int32_t maxheight) { struct oracleprice_info item; int32_t flag = 0; - for (std::vector::const_iterator it=publishers.begin(); it!=publishers.end(); it++) + for (std::vector::iterator it=publishers.begin(); it!=publishers.end(); it++) { if ( pk == it->pk ) {