Skip to content
Snippets Groups Projects
Commit 92f403b4 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] Fixed genesis block process

parent f470fa82
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,10 @@ dap_chain_cs_dag_event_t * dap_chain_cs_dag_event_new(dap_chain_id_t a_chain_id,
l_event_new->header.ts_created = (uint64_t) timegm(NULL);
l_event_new->header.cell_id.uint64 = a_cell_id.uint64;
l_event_new->header.chain_id.uint64 = a_chain_id.uint64;
memcpy(l_event_new->hashes_n_datum_n_signs, a_hashes, l_hashes_size );
if ( l_hashes_size )
memcpy(l_event_new->hashes_n_datum_n_signs, a_hashes, l_hashes_size );
memcpy(l_event_new->hashes_n_datum_n_signs+l_hashes_size, a_datum,l_datum_size );
if ( a_key ){
......
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