diff --git a/modules/consensus/dag-pos/dap_chain_cs_dag_pos.c b/modules/consensus/dag-pos/dap_chain_cs_dag_pos.c index a37e7a5fabb1e1a0cbab42cec4b692d894fd3baf..2c72008d56dd076ed2a7d56c72a6b711ed470237 100644 --- a/modules/consensus/dag-pos/dap_chain_cs_dag_pos.c +++ b/modules/consensus/dag-pos/dap_chain_cs_dag_pos.c @@ -239,7 +239,6 @@ static int s_callback_event_verify(dap_chain_cs_dag_t * a_dag, dap_chain_cs_dag_ dap_chain_addr_fill (&l_addr,l_key,&a_dag->chain->net_id ); dap_enc_key_delete (l_key); // TODO cache all this operations to prevent useless memory copy ops - /* dap_chain_datum_t *l_datum = dap_chain_cs_dag_event_get_datum(a_dag_event); // transaction include emission? bool l_is_emit = false; @@ -254,7 +253,7 @@ static int s_callback_event_verify(dap_chain_cs_dag_t * a_dag, dap_chain_cs_dag_ } // if emission then the wallet can be with zero balance if(l_is_emit) - return 0;*/ + return 0; bool l_is_enough_balance = false; for (size_t i =0; i <l_pos_pvt->tokens_hold_size; i++){