From edcc08430841f1653c92fb6d53ffc299cba998ab Mon Sep 17 00:00:00 2001
From: dmitry <dmitry.puzyrkov@demlabs.net>
Date: Wed, 3 Jul 2024 13:27:14 +0700
Subject: [PATCH] [*] event last use ts_created at output

---
 modules/type/dag/dap_chain_cs_dag.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c
index ce45f23c4b..7480090f41 100644
--- a/modules/type/dag/dap_chain_cs_dag.c
+++ b/modules/type/dag/dap_chain_cs_dag.c
@@ -1860,7 +1860,7 @@ static int s_cli_dag(int argc, char ** argv, void **a_str_reply)
                  json_object_object_add(json_obj_out, "Last event num", json_object_new_uint64(l_last_item ? l_last_item->event_number : 0));
                 json_object_object_add(json_obj_out, "Last event hash", json_object_new_string(l_last_item ?
                                                                                 dap_hash_fast_to_str_static(&l_last_item->hash) : "empty"));
-                json_object_object_add(json_obj_out, "ts_create", json_object_new_string(l_last_item ? l_buf : "never"));
+                json_object_object_add(json_obj_out, "ts_created", json_object_new_string(l_last_item ? l_buf : "never"));
 
                 size_t l_event_count = HASH_COUNT(PVT(l_dag)->events);
                 sprintf(l_tmp_buff,"%s.%s has events", l_net->pub.name, l_chain->name);
-- 
GitLab