Minor clean up for human formats and DB.

This commit is contained in:
Arthur Britto
2012-03-19 12:11:56 -07:00
parent ddb3f501b1
commit b4751f9a3a
4 changed files with 27 additions and 32 deletions

View File

@@ -32,8 +32,7 @@ void AccountState::addJson(Json::Value& val)
{
Json::Value as(Json::objectValue);
// XXX Might want account public here, if available.
as["Account"]=mAccountID.humanAccountID();
as["AccountID"]=mAccountID.humanAccountID();
as["Balance"]=boost::lexical_cast<std::string>(mBalance);
as["SendSequence"]=mAccountSeq;
if(!mValid) as["Invalid"]=true;