Skip to content

Commit 1922e5a

Browse files
committed
Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempool
27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
2 parents 63fbdbc + 27f8126 commit 1922e5a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rpc/blockchain.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,6 @@ UniValue getrawmempool(const UniValue& params, bool fHelp)
291291
+ HelpExampleRpc("getrawmempool", "true")
292292
);
293293

294-
LOCK(cs_main);
295-
296294
bool fVerbose = false;
297295
if (params.size() > 0)
298296
fVerbose = params[0].get_bool();

0 commit comments

Comments
 (0)