diff options
author | Peter Todd <pete@petertodd.org> | 2015-11-13 17:19:33 -0500 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-11-13 17:19:33 -0500 |
commit | b3ae384a8d1606948427b7bd2059d781a779b62a (patch) | |
tree | 8340228861d4a825d2bc180a62aff4a18b77035d | |
parent | dbd2c135ddb96bdc3a4e870c2371cb1fac227135 (diff) | |
download | bitcoin-b3ae384a8d1606948427b7bd2059d781a779b62a.tar.xz |
Remove LOCK(cs_main) from decodescript
Completely static RPC call that doesn't change or even look at mutable
state anywhere.
-rw-r--r-- | src/rpcrawtransaction.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 11d9a6f2bb..3bda459245 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -506,7 +506,6 @@ UniValue decodescript(const UniValue& params, bool fHelp) + HelpExampleRpc("decodescript", "\"hexstring\"") ); - LOCK(cs_main); RPCTypeCheck(params, boost::assign::list_of(UniValue::VSTR)); UniValue r(UniValue::VOBJ); |