start standardizing the RPC returns

This commit is contained in:
jed
2012-06-11 15:40:40 -07:00
parent 6b741530a3
commit 2d7e096d29
7 changed files with 44 additions and 44 deletions

View File

@@ -344,7 +344,7 @@ Json::Value STPath::getJson(int) const
Json::Value elem(Json::objectValue);
NewcoinAddress account;
account.setAccountID(it->getNode());
elem["Account"] = account.humanAccountID();
elem["account"] = account.humanAccountID();
ret.append(elem);
break;
}
@@ -352,7 +352,7 @@ Json::Value STPath::getJson(int) const
case STPathElement::typeOffer:
{
Json::Value elem(Json::objectValue);
elem["Offer"] = it->getNode().GetHex();
elem["offer"] = it->getNode().GetHex();
ret.append(elem);
break;
}