Skip to content

Commit b3ae384

Browse files
committed
Remove LOCK(cs_main) from decodescript
Completely static RPC call that doesn't change or even look at mutable state anywhere.
1 parent dbd2c13 commit b3ae384

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rpcrawtransaction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ UniValue decodescript(const UniValue& params, bool fHelp)
506506
+ HelpExampleRpc("decodescript", "\"hexstring\"")
507507
);
508508

509-
LOCK(cs_main);
510509
RPCTypeCheck(params, boost::assign::list_of(UniValue::VSTR));
511510

512511
UniValue r(UniValue::VOBJ);

0 commit comments

Comments
 (0)