Skip to content

Commit

Permalink
Remove unnecessary LOCK(cs_main) in getrawpmempool (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerlievens authored and UdjinM6 committed May 5, 2017
1 parent 3efcb75 commit b782246
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rpcblockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,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();
Expand Down

0 comments on commit b782246

Please sign in to comment.