From fac54947b48afe4371689f5faa58528b8696a5cf Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 26 Apr 2018 21:59:09 +0300 Subject: [PATCH] Restore netinfo lock --- src/rpcmisc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index 079354a7b..0a413d52c 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -92,7 +92,7 @@ UniValue getinfo(const UniValue& params, bool fHelp) //#ifdef ENABLE_WALLET // LOCK2(cs_main, pwalletMain ? &pwalletMain->cs_wallet : NULL); //#else -// LOCK(cs_main); + LOCK(cs_main); //#endif proxyType proxy;