Init speedup test

This commit is contained in:
jl777
2018-04-17 12:53:59 +03:00
parent dc4124de8e
commit b8add6a466
6 changed files with 77 additions and 39 deletions

View File

@@ -521,7 +521,7 @@ UniValue gettxoutproof(const UniValue& params, bool fHelp)
}
CBlock block;
if(!ReadBlockFromDisk(block, pblockindex))
if(!ReadBlockFromDisk(block, pblockindex,1))
throw JSONRPCError(RPC_INTERNAL_ERROR, "Can't read block from disk");
unsigned int ntxFound = 0;