mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 01:07:57 +00:00
Remove broken unlocks.
This commit is contained in:
@@ -885,7 +885,6 @@ Json::Value RPCHandler::doAccountLines(Json::Value jvRequest)
|
|||||||
if (!lpLedger)
|
if (!lpLedger)
|
||||||
return jvResult;
|
return jvResult;
|
||||||
|
|
||||||
ScopedUnlock su(theApp->getMasterLock());
|
|
||||||
|
|
||||||
if (!jvRequest.isMember("account"))
|
if (!jvRequest.isMember("account"))
|
||||||
return rpcError(rpcINVALID_PARAMS);
|
return rpcError(rpcINVALID_PARAMS);
|
||||||
@@ -966,8 +965,6 @@ Json::Value RPCHandler::doAccountOffers(Json::Value jvRequest)
|
|||||||
if (!lpLedger)
|
if (!lpLedger)
|
||||||
return jvResult;
|
return jvResult;
|
||||||
|
|
||||||
ScopedUnlock su(theApp->getMasterLock());
|
|
||||||
|
|
||||||
if (!jvRequest.isMember("account"))
|
if (!jvRequest.isMember("account"))
|
||||||
return rpcError(rpcINVALID_PARAMS);
|
return rpcError(rpcINVALID_PARAMS);
|
||||||
|
|
||||||
@@ -1039,8 +1036,6 @@ Json::Value RPCHandler::doBookOffers(Json::Value jvRequest)
|
|||||||
if (!lpLedger)
|
if (!lpLedger)
|
||||||
return jvResult;
|
return jvResult;
|
||||||
|
|
||||||
ScopedUnlock su(theApp->getMasterLock());
|
|
||||||
|
|
||||||
if (!jvRequest.isMember("taker_pays") || !jvRequest.isMember("taker_gets"))
|
if (!jvRequest.isMember("taker_pays") || !jvRequest.isMember("taker_gets"))
|
||||||
return rpcError(rpcINVALID_PARAMS);
|
return rpcError(rpcINVALID_PARAMS);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user