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

27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
This commit is contained in:
Wladimir J. van der Laan 2016-06-25 16:09:51 +02:00
commit 1922e5a654
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

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