This commit is contained in:
jl777
2016-11-11 21:33:09 -03:00
parent 895f044ae6
commit 02286e6339

View File

@@ -396,6 +396,7 @@ Value notaries(const Array& params, bool fHelp)
int32_t height = atoi(params[0].get_str().c_str());
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