Browse Source

Remove LOCK(cs_main) from decodescript

Completely static RPC call that doesn't change or even look at mutable
state anywhere.
0.13
Peter Todd 9 years ago
parent
commit
b3ae384a8d
No known key found for this signature in database
GPG Key ID: C085F21CE7F4B9DC
  1. 1
      src/rpcrawtransaction.cpp

1
src/rpcrawtransaction.cpp

@ -506,7 +506,6 @@ UniValue decodescript(const UniValue& params, bool fHelp) @@ -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);

Loading…
Cancel
Save