diff --git a/modules/net/dap_chain_net_tx.c b/modules/net/dap_chain_net_tx.c index 6253b664fe356614d2b79e989eb638041c675514..a3e7548543344b46b2066a04b520a9258aa5e748 100644 --- a/modules/net/dap_chain_net_tx.c +++ b/modules/net/dap_chain_net_tx.c @@ -595,7 +595,7 @@ dap_chain_datum_tx_t *dap_chain_net_get_tx_by_hash(dap_chain_net_t *a_net, dap_c int l_ret_code; dap_chain_datum_t *l_datum = l_chain->callback_datum_find_by_hash(l_chain, a_tx_hash, NULL, &l_ret_code); if (!l_datum || l_datum->header.type_id != DAP_CHAIN_DATUM_TX) - return NULL; + continue; if ((a_search_type == TX_SEARCH_TYPE_CELL_SPENT || a_search_type == TX_SEARCH_TYPE_NET_SPENT) && (!dap_chain_ledger_tx_spent_find_by_hash(l_ledger, a_tx_hash)))