Remove LOCK(cs_main) from decodescript
Completely static RPC call that doesn't change or even look at mutable state anywhere.
This commit is contained in:
parent
dbd2c135dd
commit
b3ae384a8d
@ -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…
Reference in New Issue
Block a user