mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-21 12:15:54 +00:00
change id to object_id in diff response to ledger command (#218)
This commit is contained in:
@@ -132,7 +132,7 @@ doLedger(Context const& context)
|
|||||||
for (auto const& obj : diff)
|
for (auto const& obj : diff)
|
||||||
{
|
{
|
||||||
boost::json::object entry;
|
boost::json::object entry;
|
||||||
entry[JS(id)] = ripple::strHex(obj.key);
|
entry["object_id"] = ripple::strHex(obj.key);
|
||||||
if (binary)
|
if (binary)
|
||||||
entry["object"] = ripple::strHex(obj.blob);
|
entry["object"] = ripple::strHex(obj.blob);
|
||||||
else if (obj.blob.size())
|
else if (obj.blob.size())
|
||||||
|
|||||||
Reference in New Issue
Block a user