mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 05:25:55 +00:00
Cosmetic.
This commit is contained in:
@@ -218,7 +218,9 @@ Json::Value RPCParser::parseLogLevel(const Json::Value& jvParams)
|
|||||||
Json::Value jvRequest(Json::objectValue);
|
Json::Value jvRequest(Json::objectValue);
|
||||||
|
|
||||||
if (jvParams.size() == 1)
|
if (jvParams.size() == 1)
|
||||||
|
{
|
||||||
jvRequest["severity"] = jvParams[0u].asString();
|
jvRequest["severity"] = jvParams[0u].asString();
|
||||||
|
}
|
||||||
else if (jvParams.size() == 2)
|
else if (jvParams.size() == 2)
|
||||||
{
|
{
|
||||||
jvRequest["partition"] = jvParams[0u].asString();
|
jvRequest["partition"] = jvParams[0u].asString();
|
||||||
|
|||||||
@@ -552,8 +552,6 @@ Json::Value RPCHandler::doAccountLines(Json::Value jvRequest)
|
|||||||
AccountState::pointer as = mNetOps->getAccountState(lpLedger, raAccount);
|
AccountState::pointer as = mNetOps->getAccountState(lpLedger, raAccount);
|
||||||
if (as)
|
if (as)
|
||||||
{
|
{
|
||||||
cLog(lsDEBUG) << "AccountState: ";
|
|
||||||
as->dump();
|
|
||||||
Json::Value jsonLines(Json::arrayValue);
|
Json::Value jsonLines(Json::arrayValue);
|
||||||
|
|
||||||
jvResult["account"] = raAccount.humanAccountID();
|
jvResult["account"] = raAccount.humanAccountID();
|
||||||
|
|||||||
Reference in New Issue
Block a user