Browse Source

Restore LOCK cs_main in getinfo

pull/4/head
jl777 6 years ago
parent
commit
4add33cf7e
  1. 2
      src/rpcmisc.cpp

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

Loading…
Cancel
Save