mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
insert delivered_amount based on close time (#252)
This commit is contained in:
@@ -257,7 +257,8 @@ SubscriptionManager::pubTransaction(
|
||||
boost::json::object pubObj;
|
||||
pubObj["transaction"] = RPC::toJson(*tx);
|
||||
pubObj["meta"] = RPC::toJson(*meta);
|
||||
RPC::insertDeliveredAmount(pubObj["meta"].as_object(), tx, meta);
|
||||
RPC::insertDeliveredAmount(
|
||||
pubObj["meta"].as_object(), tx, meta, blobs.date);
|
||||
pubObj["type"] = "transaction";
|
||||
pubObj["validated"] = true;
|
||||
pubObj["status"] = "closed";
|
||||
|
||||
Reference in New Issue
Block a user