diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-11 14:55:23 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-11 14:55:38 +0100 |
commit | 9ee02cf564d1ce79d2981899cb4d38c914210dc7 (patch) | |
tree | 058ec5e5126b850cfa4945ddee82972512f1b8ac /src | |
parent | d1e17ff6408c80a9ac1bc3e61f3a46d4dcec61cb (diff) | |
parent | 6e765873605ee5e31652ce107848a157151791b4 (diff) |
Merge pull request #7156
6e76587 rpc: remove cs_main lock from `createrawtransaction` (Wladimir J. van der Laan)
Diffstat (limited to 'src')
-rw-r--r-- | src/rpcrawtransaction.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 1f2d77aef0..4947ad1f70 100644 --- a/src/rpcrawtransaction.cpp +++ b/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"); |