From 1d4b40c9123f8bb42dc1cf9095d525f79739c244 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 6 Jul 2019 03:43:28 -1100 Subject: [PATCH] Skip params if nSPV --- src/init.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 7e131b759..f2335ce38 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1302,9 +1302,11 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) libsnark::inhibit_profiling_info = true; libsnark::inhibit_profiling_counters = true; - // Initialize Zcash circuit parameters - ZC_LoadParams(chainparams); - + if ( KOMODO_NSPV == 0 ) + { + // Initialize Zcash circuit parameters + ZC_LoadParams(chainparams); + } /* Start the RPC server already. It will be started in "warmup" mode * and not really process calls already (but it will signify connections * that the server is there and will be ready later). Warmup mode will