mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use getJson instead of getValue
This commit is contained in:
@@ -424,8 +424,8 @@ Json::Value RPCServer::doAccountLines(Json::Value ¶ms)
|
||||
Json::Value jPeer = Json::Value(Json::objectValue);
|
||||
|
||||
jPeer["balance"] = Json::Value::UInt(uBalance); // XXX Raw number.
|
||||
jPeer["limit"] = Json::Value::UInt(saLimit.getValue());
|
||||
jPeer["limit_peer"] = Json::Value::UInt(saLimitPeer.getValue());
|
||||
jPeer["limit"] = saLimit.getJson(0);
|
||||
jPeer["limit_peer"] = saLimitPeer.getJson(0);
|
||||
|
||||
ret[naAccountPeer.humanAccountID()] = jPeer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user