diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c index 3329dc39d13b0c7c5cf3b0629da08f52a07e7132..305d5b29a2ce0492b16c81187df29ae193b60a08 100644 --- a/modules/type/dag/dap_chain_cs_dag.c +++ b/modules/type/dag/dap_chain_cs_dag.c @@ -1490,7 +1490,7 @@ static int s_cli_dag(int argc, char ** argv, void *arg_func, char **a_str_reply) time_t l_ts_reated = (time_t) l_event->header.ts_created; // Header dap_string_append_printf(l_str_tmp,"Event %s:\n", l_event_hash_str); - dap_string_append_printf(l_str_tmp,"\t\t\t\tversion: 0x%04sX\n",l_event->header.version); + dap_string_append_printf(l_str_tmp,"\t\t\t\tversion: 0x%02X\n",l_event->header.version); dap_string_append_printf(l_str_tmp,"\t\t\t\tcell_id: 0x%016llX\n",l_event->header.cell_id.uint64); dap_string_append_printf(l_str_tmp,"\t\t\t\tchain_id: 0x%016llX\n",l_event->header.chain_id.uint64); dap_string_append_printf(l_str_tmp,"\t\t\t\tts_created: %s\n",ctime_r(&l_ts_reated, buf) );