From 93f79ca2049fe34ca5b4daa2aa4db6bfeda54cee Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 4 Mar 2013 15:53:27 -0800 Subject: [PATCH] Remove broken unlocks. --- src/cpp/ripple/RPCHandler.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp index ff93bfd0e9..aef20331b5 100644 --- a/src/cpp/ripple/RPCHandler.cpp +++ b/src/cpp/ripple/RPCHandler.cpp @@ -885,7 +885,6 @@ Json::Value RPCHandler::doAccountLines(Json::Value jvRequest) if (!lpLedger) return jvResult; - ScopedUnlock su(theApp->getMasterLock()); if (!jvRequest.isMember("account")) return rpcError(rpcINVALID_PARAMS); @@ -966,8 +965,6 @@ Json::Value RPCHandler::doAccountOffers(Json::Value jvRequest) if (!lpLedger) return jvResult; - ScopedUnlock su(theApp->getMasterLock()); - if (!jvRequest.isMember("account")) return rpcError(rpcINVALID_PARAMS); @@ -1039,8 +1036,6 @@ Json::Value RPCHandler::doBookOffers(Json::Value jvRequest) if (!lpLedger) return jvResult; - ScopedUnlock su(theApp->getMasterLock()); - if (!jvRequest.isMember("taker_pays") || !jvRequest.isMember("taker_gets")) return rpcError(rpcINVALID_PARAMS);