From 62c3b99aad7c7e61398a14874bbe25a1d0913cd4 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 2 May 2023 19:19:59 +0700 Subject: [PATCH] ... --- modules/type/dag/dap_chain_cs_dag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c index ba91205400..d72e070a14 100644 --- a/modules/type/dag/dap_chain_cs_dag.c +++ b/modules/type/dag/dap_chain_cs_dag.c @@ -671,7 +671,7 @@ static bool s_chain_callback_datums_pool_proc(dap_chain_t *a_chain, dap_chain_da HASH_ITER(th, l_tmp, l_cur_ev, l_tmp_ev) { if (l_hash_id++ == l_random_id) { l_hashes[l_hashes_linked++] = l_cur_ev->hash; - HASH_DEL(l_tmp, l_cur_ev); + HASH_DELETE(th, l_tmp, l_cur_ev); break; } } -- GitLab