aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-06-25 16:09:51 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-06-25 16:10:10 +0200
commit1922e5a6545835ac57e8a56aa4c4a251c07fe9e9 (patch)
treed4cd864aef83d2b963299ba58aa290d58231bff8 /src
parent63fbdbc94d76e586b2fb0754a9a69acfc4b622d3 (diff)
parent27f8126ff37ec590c266adc6228d216857606536 (diff)
Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempool
27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
Diffstat (limited to 'src')
-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 43ba4edd78..cf927106df 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -291,8 +291,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();