From 226a6b32484af32a2da65828c1267e75361771c0 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Wed, 2 Nov 2016 12:03:41 -0600 Subject: [PATCH] Initialize after profiling messages are suppressed. --- src/init.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 3e1a22373..0906f0140 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -984,13 +984,14 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) threadGroup.create_thread(&ThreadShowMetricsScreen); } - // Initialize Zcash circuit parameters - ZC_LoadParams(); // These must be disabled for now, they are buggy and we probably don't // want any of libsnark's profiling in production anyway. libsnark::inhibit_profiling_info = true; libsnark::inhibit_profiling_counters = true; + // Initialize Zcash circuit parameters + ZC_LoadParams(); + /* 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