Skip to content
Snippets Groups Projects
Commit 92c23b8a authored by roman.padenkov's avatar roman.padenkov
Browse files

Merge branch 'master' of https://gitlab.demlabs.net/cellframe/cellframe-sdk into feature-12805_m

parents 62bee5c0 27a44e8d
No related branches found
No related tags found
3 merge requests!1848[+] Added output of the list of addresses on which blocked, allowed, sending...,!1843hotfix-13137,!1770feature-12805_m
Pipeline #44252 failed with stage
in 25 minutes and 43 seconds
Subproject commit 9e7565c9417bad979e90b83ccd537aecfe7c07f9
Subproject commit 70cffb96e4be3972625268f3d4f972bb337a87a3
......@@ -137,7 +137,7 @@ static int s_decree_verify(dap_chain_net_t *a_net, dap_chain_datum_decree_t *a_d
decree_table_t **l_decrees = dap_chain_net_get_decrees(a_net), *l_sought_decree = NULL;
HASH_FIND(hh, *l_decrees, a_decree_hash, sizeof(dap_hash_fast_t), l_sought_decree);
if (l_sought_decree && l_sought_decree->decree) {
log_it(L_WARNING, "Decree with hash %s is already present", dap_hash_fast_to_str_static(a_decree_hash));
debug_if(s_debug_more, L_WARNING, "Decree with hash %s is already present", dap_hash_fast_to_str_static(a_decree_hash));
return -123;
}
......@@ -270,7 +270,7 @@ int dap_chain_net_decree_apply(dap_hash_fast_t *a_decree_hash, dap_chain_datum_d
}
} else { // Process decree itself
if (l_new_decree->decree) {
log_it(L_WARNING, "Decree with hash %s is already present", dap_hash_fast_to_str_static(a_decree_hash));
debug_if(s_debug_more, L_WARNING, "Decree with hash %s is already present", dap_hash_fast_to_str_static(a_decree_hash));
return -123;
}
l_new_decree->decree = a_chain->is_mapped ? a_decree : DAP_DUP_SIZE(a_decree, dap_chain_datum_decree_get_size(a_decree));
......
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