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
commit 36baa9f475
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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