rpc: Avoid locking cs_main in some wallet RPC

This commit is contained in:
João Barbosa
2018-08-23 01:46:59 +01:00
parent 1b04b55f2d
commit 00f58f8c48
2 changed files with 3 additions and 4 deletions

View File

@@ -562,7 +562,6 @@ static UniValue decoderawtransaction(const JSONRPCRequest& request)
+ HelpExampleRpc("decoderawtransaction", "\"hexstring\"")
);
LOCK(cs_main);
RPCTypeCheck(request.params, {UniValue::VSTR, UniValue::VBOOL});
CMutableTransaction mtx;