aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Cousens <dcousens@users.noreply.github.com>2016-06-23 12:44:53 +1000
committerGitHub <noreply@github.com>2016-06-23 12:44:53 +1000
commit27f8126ff37ec590c266adc6228d216857606536 (patch)
tree59435628182372d0d33dcac7571b41969cf40813
parent9f1807af2422e3ac2d3702242b4a47c8df0be262 (diff)
remove unnecessary LOCK(cs_main)
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index 1bb365d36c..e63232b480 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -289,8 +289,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();