diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-25 16:09:51 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-25 16:10:10 +0200 |
commit | 1922e5a6545835ac57e8a56aa4c4a251c07fe9e9 (patch) | |
tree | d4cd864aef83d2b963299ba58aa290d58231bff8 /src/rpc | |
parent | 63fbdbc94d76e586b2fb0754a9a69acfc4b622d3 (diff) | |
parent | 27f8126ff37ec590c266adc6228d216857606536 (diff) | |
download | bitcoin-1922e5a6545835ac57e8a56aa4c4a251c07fe9e9.tar.xz |
Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempool
27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
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(); |