Skip to content
Snippets Groups Projects
Commit d6d2c34f authored by alexander.lysikov's avatar alexander.lysikov
Browse files

added error message in mempool_proc command

parent 37eb1ddc
Branches feature-2656
No related tags found
1 merge request!38Feature 2652 2656
...@@ -2146,6 +2146,9 @@ int com_mempool_proc(int argc, char ** argv, char ** a_str_reply) ...@@ -2146,6 +2146,9 @@ int com_mempool_proc(int argc, char ** argv, char ** a_str_reply)
if(l_objs_processed > 15) { if(l_objs_processed > 15) {
dap_string_append_printf(l_str_tmp, "...\n"); dap_string_append_printf(l_str_tmp, "...\n");
} }
if(l_objs_processed < l_datums_size)
dap_string_append_printf(l_str_tmp, "%s.%s: %d records not processed\n", l_net->pub.name, l_chain->name,
l_datums_size - l_objs_processed);
dap_chain_global_db_objs_delete(l_objs, l_objs_size); dap_chain_global_db_objs_delete(l_objs, l_objs_size);
} }
else { else {
......
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