Remove unnecessary LOCK(cs_main) in getrawpmempool (#1452)
This commit is contained in:
parent
3efcb755e3
commit
b7822464f6
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user