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

[-] Time update when wrote (should be replaced with event header)

parent aa67daf3
No related branches found
No related tags found
No related merge requests found
......@@ -335,8 +335,8 @@ static int s_chain_callback_atom_add(dap_chain_t * a_chain, dap_chain_atom_ptr_t
}break;
case DAP_CHAIN_DATUM_TX:{
dap_chain_datum_tx_t *l_tx = (dap_chain_datum_tx_t*) l_datum->data;
if ( !l_gdb_priv->is_load_mode ) // If its not load module but mempool proc
l_tx->header.ts_created = time(NULL);
//if ( !l_gdb_priv->is_load_mode ) // If its not load module but mempool proc
// l_tx->header.ts_created = time(NULL);
//if(dap_chain_datum_tx_get_size(l_tx) == l_datum->header.data_size){
dap_chain_ledger_tx_add(a_chain->ledger, l_tx);
//}else
......
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