From 0d1959519e7e727b6db852b19d2314cb4d7fe991 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 24 Oct 2016 12:26:09 -0300 Subject: [PATCH] test --- src/rpcblockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 7d0d3c217..920128b05 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -418,7 +418,7 @@ Value paxprices(const Array& params, bool fHelp) Object ret; uint64_t relvolume,prices[4096]; uint32_t i,n; int32_t heights[sizeof(prices)/sizeof(*prices)]; std::string base = params[0].get_str(); std::string rel = params[1].get_str(); - int32_t max = atoi(params[2].get_str().c_str()); + int32_t maxsamples = atoi(params[2].get_str().c_str()); if ( maxsamples < 60 ) maxsamples = 60; else if ( maxsamples > sizeof(heights)/sizeof(*heights) )