fix bug where binary data is missing from ledger_data

This commit is contained in:
CJ Cobb
2021-01-13 16:38:07 -05:00
parent 091aea9098
commit e8332b17dc

View File

@@ -69,6 +69,7 @@ doLedgerData(
boost::json::object entry;
entry["data"] = ripple::serializeHex(sle);
entry["index"] = ripple::to_string(sle.key());
objects.push_back(entry);
}
else
objects.push_back(getJson(sle));