Remove unnecessary LOCK(cs_main) in getrawpmempool (#1452)

This commit is contained in:
Spencer Lievens 2017-05-05 13:35:05 +02:00 committed by UdjinM6
parent 3efcb755e3
commit b7822464f6

View File

@ -267,8 +267,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();