From b726fc322ae2a019c83b5354bdf2d8075f2211bf Mon Sep 17 00:00:00 2001
From: "aleksei.voronin" <aleksei.voronin@demlabs.net>
Date: Thu, 14 May 2020 13:40:27 +0300
Subject: [PATCH] [*] dap_chain_node_mempool_process() now processes not only
 transactions but also other event types

---
 modules/net/dap_chain_node.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/net/dap_chain_node.c b/modules/net/dap_chain_node.c
index bcdfbdd0f1..1b59dd0b63 100644
--- a/modules/net/dap_chain_node.c
+++ b/modules/net/dap_chain_node.c
@@ -251,9 +251,9 @@ int dap_chain_node_mempool_process(dap_chain_t *a_chain)
     if (l_objs_size) {
         for (size_t i = 0; i < l_objs_size; i++) {
             dap_chain_datum_t *l_datum = (dap_chain_datum_t *)l_objs[i].value;
-            if (l_datum->header.type_id != DAP_CHAIN_DATUM_TX) {
-                continue;
-            }
+//            if (l_datum->header.type_id != DAP_CHAIN_DATUM_TX) {
+//                continue;
+//            }
             if (a_chain->callback_datums_pool_proc(a_chain, &l_datum, 1) != 1) {
                 continue;
             } // Delete processed objects
-- 
GitLab