Give account state node types.

This commit is contained in:
JoelKatz
2012-06-09 02:27:57 -07:00
parent eaf511ebb6
commit 182d23e22a

View File

@@ -57,6 +57,7 @@ std::string SerializedLedgerEntry::getText() const
Json::Value SerializedLedgerEntry::getJson(int options) const
{
Json::Value ret(mObject.getJson(options));
ret["Type"] = mFormat->t_name;
ret["Index"] = mIndex.GetHex();
ret["Version"] = mVersion.getText();
return ret;