From c29e766f504b1ffb65557b9d69e970f84c8d2042 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 21 Nov 2016 15:44:34 -0300 Subject: [PATCH] test --- src/rpcblockchain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 8bfb19629..b79c2e90c 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -398,9 +398,9 @@ Value notaries(const Array& params, bool fHelp) if ( height < 0 ) height = 0; //fprintf(stderr,"notaries as of height.%d\n",height); - if ( height > chainActive.Height()+20000 ) - throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); - else + //if ( height > chainActive.Height()+20000 ) + // throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); + //else { if ( (n= komodo_notaries(pubkeys,height)) > 0 ) {