From 1cca98997ff263e75d855cccba11c171b50a4d8f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 30 Mar 2017 05:25:03 +0300 Subject: [PATCH] Test --- src/rpcblockchain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 3dcfd9f41..041563e29 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -750,10 +750,10 @@ UniValue paxprices(const UniValue& params, bool fHelp) ret.push_back(Pair("base", base)); ret.push_back(Pair("rel", rel)); n = komodo_paxprices(heights,prices,maxsamples,(char *)base.c_str(),(char *)rel.c_str()); - Array a; + UniValue a(UniValue::VARR); for (i=0; i chainActive.Height() ) throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); else