From a8af456e27cbb7e35585c19b9147d4e9648eb7c4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 31 Oct 2016 10:29:15 -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 48b16131f..9663cac9b 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -393,7 +393,7 @@ Value notaries(const Array& params, bool fHelp) if ( fHelp || params.size() != 1 ) throw runtime_error("notaries height\n"); LOCK(cs_main); - int32_t n,height = atoi(params[0].get_str().c_str()); + int32_t height = atoi(params[0].get_str().c_str()); if ( height < 0 || height > chainActive.Height() ) throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); else