mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
More JSON work.
This commit is contained in:
@@ -365,8 +365,8 @@ Json::Value STPath::getJson(int) const
|
||||
Json::Value elem(Json::objectValue);
|
||||
int iType = it.getNodeType();
|
||||
|
||||
elem["type"] = it.getNodeType();
|
||||
elem["type_hex"] = strHex(it.getNodeType());
|
||||
elem["type"] = iType;
|
||||
elem["type_hex"] = strHex(iType);
|
||||
|
||||
if (iType & STPathElement::typeAccount)
|
||||
elem["account"] = NewcoinAddress::createHumanAccountID(it.getAccountID());
|
||||
|
||||
Reference in New Issue
Block a user