Skip to content
Snippets Groups Projects
Commit 35470ae2 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

Merge branch 'hotfix-typo' into 'release-5.3'

[*] event last use ts_created at output

See merge request !1701
parents 4cb788cc edcc0843
No related branches found
No related tags found
1 merge request!1701[*] event last use ts_created at output
Pipeline #41401 passed with stage
in 9 minutes and 45 seconds
...@@ -1860,7 +1860,7 @@ static int s_cli_dag(int argc, char ** argv, void **a_str_reply) ...@@ -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 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 ? 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")); 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); 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); sprintf(l_tmp_buff,"%s.%s has events", l_net->pub.name, l_chain->name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment