aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2015-11-13 17:19:33 -0500
committerPeter Todd <pete@petertodd.org>2015-11-13 17:19:33 -0500
commitb3ae384a8d1606948427b7bd2059d781a779b62a (patch)
tree8340228861d4a825d2bc180a62aff4a18b77035d /src
parentdbd2c135ddb96bdc3a4e870c2371cb1fac227135 (diff)
Remove LOCK(cs_main) from decodescript
Completely static RPC call that doesn't change or even look at mutable state anywhere.
Diffstat (limited to 'src')
-rw-r--r--src/rpcrawtransaction.cpp1
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);