Restore LOCK cs_main in getinfo

This commit is contained in:
jl777
2018-04-29 10:05:50 +03:00
parent 0d88e6d57b
commit 4add33cf7e

View File

@@ -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;