Remove LOCK(cs_main) from decodescript

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

@ -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