From 31f5ff743eb0507d35cba734d095ebaecd969dfc Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 21 Apr 2023 16:13:08 +0700 Subject: [PATCH] ... --- modules/mempool/dap_chain_mempool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mempool/dap_chain_mempool.c b/modules/mempool/dap_chain_mempool.c index 55425201f6..c223314cc5 100644 --- a/modules/mempool/dap_chain_mempool.c +++ b/modules/mempool/dap_chain_mempool.c @@ -1269,7 +1269,7 @@ void dap_chain_mempool_filter(dap_chain_t *a_chain, int *a_removed){ l_removed++; log_it(L_NOTICE, "Removed datum from mempool with \"%s\" key group %s. The size of the datum defined by the " "function and the size specified in the record do not match.", l_objs[i].key, l_gdb_group); - dap_global_db_del_sync(l_objs[i].key, l_gdb_group); + dap_global_db_del_sync(l_gdb_group, l_objs[i].key); continue; } //Filter hash @@ -1281,7 +1281,7 @@ void dap_chain_mempool_filter(dap_chain_t *a_chain, int *a_removed){ DAP_DELETE(l_hash_content_str); log_it(L_NOTICE, "Removed datum from mempool with \"%s\" key group %s. The hash of the contents of the " "datum does not match the key.", l_objs[i].key, l_gdb_group); - dap_global_db_del_sync(l_objs[i].key, l_gdb_group); + dap_global_db_del_sync(l_gdb_group, l_objs[i].key); continue; } DAP_DELETE(l_hash_content_str); @@ -1290,7 +1290,7 @@ void dap_chain_mempool_filter(dap_chain_t *a_chain, int *a_removed){ l_removed++; log_it(L_NOTICE, "Removed datum from mempool with \"%s\" key group %s. The datum in the mempool was " "created after the %s.", l_objs[i].key, l_gdb_group, l_cut_off_time_str); - dap_global_db_del_sync(l_objs[i].key, l_gdb_group); + dap_global_db_del_sync(l_gdb_group, l_objs[i].key); } } dap_global_db_objs_delete(l_objs, l_objs_size); -- GitLab