mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-03 16:30:42 +02:00
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…
x
Reference in New Issue
Block a user