This commit is contained in:
jl777
2019-07-04 01:41:15 -11:00
parent 7958b7ecfc
commit eadeedff7c
2 changed files with 4 additions and 2 deletions

View File

@@ -1030,7 +1030,7 @@ UniValue nspv_hdrsproof(const UniValue& params, bool fHelp)
if ( fHelp || params.size() != 2 )
throw runtime_error("nspv_proof prevheight nextheight\n");
prevheight = atoi((char *)params[0].get_str().c_str());
nextheight = atoi((char *)params[0].get_str().c_str());
nextheight = atoi((char *)params[1].get_str().c_str());
return(NSPV_hdrsproof(prevheight,nextheight));
}