Permalink
Browse files

Merge pull request #7156

6e76587 rpc: remove cs_main lock from `createrawtransaction` (Wladimir J. van der Laan)
  • Loading branch information...
laanwj committed Dec 11, 2015
2 parents d1e17ff + 6e76587 commit 9ee02cf564d1ce79d2981899cb4d38c914210dc7
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/rpcrawtransaction.cpp
@@ -353,7 +353,6 @@ UniValue createrawtransaction(const UniValue& params, bool fHelp)
+ HelpExampleRpc("createrawtransaction", "\"[{\\\"txid\\\":\\\"myid\\\",\\\"vout\\\":0}]\", \"{\\\"data\\\":\\\"00010203\\\"}\"")
);
LOCK(cs_main);
RPCTypeCheck(params, boost::assign::list_of(UniValue::VARR)(UniValue::VOBJ)(UniValue::VNUM), true);
if (params[0].isNull() || params[1].isNull())
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter, arguments 1 and 2 must be non-null");

0 comments on commit 9ee02cf

Please sign in to comment.