diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c index 3b056e9c8659639ceb96d87570453a333b6eb529..dbec25fe18aefa6a354c309a66530c3d8b857d21 100644 --- a/modules/type/dag/dap_chain_cs_dag.c +++ b/modules/type/dag/dap_chain_cs_dag.c @@ -1677,7 +1677,7 @@ static int s_cli_dag(int argc, char ** argv, void **a_str_reply) dap_string_append_printf(l_str_tmp, "\tRound info:\n\t\tsigns reject: %d\n", l_round_item->round_info.reject_count); - dap_time_to_str_rfc822(buf, DAP_TIME_STR_SIZE, l_round_item->round_info.ts_update); + dap_nanotime_to_str_rfc822(buf, DAP_TIME_STR_SIZE, l_round_item->round_info.ts_update); dap_string_append_printf(l_str_tmp, "\t\tdatum_hash: %s\n\t\tts_update: %s\n", dap_chain_hash_fast_to_str_static(&l_round_item->round_info.datum_hash), buf); } diff --git a/modules/type/dag/include/dap_chain_cs_dag_event.h b/modules/type/dag/include/dap_chain_cs_dag_event.h index bbe4f5b064044e7bc25f1b59e601f50fbaebab05..e4ac5b7a66382a90676db4ee389aab97f936c0c1 100644 --- a/modules/type/dag/include/dap_chain_cs_dag_event.h +++ b/modules/type/dag/include/dap_chain_cs_dag_event.h @@ -35,7 +35,7 @@ typedef struct dap_chain_cs_dag dap_chain_cs_dag_t; typedef struct dap_chain_class_dag_event_hdr { uint16_t version; uint64_t round_id; - dap_nanotime_t ts_created; + dap_time_t ts_created; dap_chain_id_t chain_id; dap_chain_cell_id_t cell_id; // Cell id if celled dag uint16_t hash_count; // Number of hashes