mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempool
27f8126
remove unnecessary LOCK(cs_main) (Daniel Cousens)
This commit is contained in:
commit
1922e5a654
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue