change id to object_id in diff response to ledger command (#218)

This commit is contained in:
CJ Cobb
2022-07-26 15:08:54 -04:00
committed by GitHub
parent 6bf8c5bc4e
commit b01813ac3d

View File

@@ -132,7 +132,7 @@ doLedger(Context const& context)
for (auto const& obj : diff)
{
boost::json::object entry;
entry[JS(id)] = ripple::strHex(obj.key);
entry["object_id"] = ripple::strHex(obj.key);
if (binary)
entry["object"] = ripple::strHex(obj.blob);
else if (obj.blob.size())