Merge pull request #7013

b3ae384 Remove LOCK(cs_main) from decodescript (Peter Todd)
This commit is contained in:
Wladimir J. van der Laan
2015-11-14 08:21:25 +01:00

View File

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