Skip params if nSPV

This commit is contained in:
jl777
2019-07-06 03:43:28 -11:00
parent 559c2cf8ff
commit 1d4b40c912

View File

@@ -1302,9 +1302,11 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
libsnark::inhibit_profiling_info = true; libsnark::inhibit_profiling_info = true;
libsnark::inhibit_profiling_counters = true; libsnark::inhibit_profiling_counters = true;
// Initialize Zcash circuit parameters if ( KOMODO_NSPV == 0 )
ZC_LoadParams(chainparams); {
// Initialize Zcash circuit parameters
ZC_LoadParams(chainparams);
}
/* Start the RPC server already. It will be started in "warmup" mode /* Start the RPC server already. It will be started in "warmup" mode
* and not really process calls already (but it will signify connections * and not really process calls already (but it will signify connections
* that the server is there and will be ready later). Warmup mode will * that the server is there and will be ready later). Warmup mode will