Browse Source

Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempool

27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
1922e5a654
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/rpc/blockchain.cpp

2
src/rpc/blockchain.cpp

@ -291,8 +291,6 @@ UniValue getrawmempool(const UniValue& params, bool fHelp)
+ HelpExampleRpc("getrawmempool", "true") + HelpExampleRpc("getrawmempool", "true")
); );
LOCK(cs_main);
bool fVerbose = false; bool fVerbose = false;
if (params.size() > 0) if (params.size() > 0)
fVerbose = params[0].get_bool(); fVerbose = params[0].get_bool();

Loading…
Cancel
Save