mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Give account state node types.
This commit is contained in:
@@ -57,6 +57,7 @@ std::string SerializedLedgerEntry::getText() const
|
|||||||
Json::Value SerializedLedgerEntry::getJson(int options) const
|
Json::Value SerializedLedgerEntry::getJson(int options) const
|
||||||
{
|
{
|
||||||
Json::Value ret(mObject.getJson(options));
|
Json::Value ret(mObject.getJson(options));
|
||||||
|
ret["Type"] = mFormat->t_name;
|
||||||
ret["Index"] = mIndex.GetHex();
|
ret["Index"] = mIndex.GetHex();
|
||||||
ret["Version"] = mVersion.getText();
|
ret["Version"] = mVersion.getText();
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user