Skip to content
Snippets Groups Projects
Commit 10351e8b authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

Merge branch 'bugfix-8966_1' into 'release-5.2'

bugfix-8966_1

See merge request !1148
parents 23973588 25b92976
No related branches found
No related tags found
1 merge request!1148bugfix-8966_1
Pipeline #27638 passed with stage
in 8 minutes and 38 seconds
...@@ -595,7 +595,7 @@ dap_chain_datum_tx_t *dap_chain_net_get_tx_by_hash(dap_chain_net_t *a_net, dap_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; 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); 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) if (!l_datum || l_datum->header.type_id != DAP_CHAIN_DATUM_TX)
return NULL; continue;
if ((a_search_type == TX_SEARCH_TYPE_CELL_SPENT || if ((a_search_type == TX_SEARCH_TYPE_CELL_SPENT ||
a_search_type == TX_SEARCH_TYPE_NET_SPENT) && a_search_type == TX_SEARCH_TYPE_NET_SPENT) &&
(!dap_chain_ledger_tx_spent_find_by_hash(l_ledger, a_tx_hash))) (!dap_chain_ledger_tx_spent_find_by_hash(l_ledger, a_tx_hash)))
......
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