mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Have RPC ripple_lines_get now show redundant currencies.
This commit is contained in:
@@ -1128,8 +1128,8 @@ Json::Value RPCServer::doRippleLinesGet(const Json::Value ¶ms)
|
|||||||
// Amount reported is negative if other account hold's current account's IOUs.
|
// Amount reported is negative if other account hold's current account's IOUs.
|
||||||
jPeer["balance"] = saBalance.getText();
|
jPeer["balance"] = saBalance.getText();
|
||||||
jPeer["currency"] = saBalance.getCurrencyHuman();
|
jPeer["currency"] = saBalance.getCurrencyHuman();
|
||||||
jPeer["limit"] = saLimit.getJson(0);
|
jPeer["limit"] = saLimit.getText();
|
||||||
jPeer["limit_peer"] = saLimitPeer.getJson(0);
|
jPeer["limit_peer"] = saLimitPeer.getText();
|
||||||
|
|
||||||
jsonLines.append(jPeer);
|
jsonLines.append(jPeer);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user