diff --git a/modules/consensus/esbocs/dap_chain_cs_esbocs.c b/modules/consensus/esbocs/dap_chain_cs_esbocs.c index c92bb2350436cb131f5ebf2ee1f858145eabc53c..7c9334ad83915cb1464839646254392dbb790f64 100644 --- a/modules/consensus/esbocs/dap_chain_cs_esbocs.c +++ b/modules/consensus/esbocs/dap_chain_cs_esbocs.c @@ -3084,7 +3084,7 @@ static int s_cli_esbocs(int a_argc, char **a_argv, void **a_str_reply) dap_json_rpc_error_add(DAP_CHAIN_NODE_CLI_COM_ESBOCS_PARAM_ERR,"Command '%s' requires parameter -val_count", l_subcmd_strs[l_subcmd]); return -DAP_CHAIN_NODE_CLI_COM_ESBOCS_PARAM_ERR; } - uint256_t l_value = dap_chain_balance_scan(l_value_str); + uint256_t l_value = dap_uint256_scan_uninteger(l_value_str); if (IS_ZERO_256(l_value)) { dap_json_rpc_error_add(DAP_CHAIN_NODE_CLI_COM_ESBOCS_UNREC_COM_ERR,"Unrecognized number in '-val_count' param"); return -DAP_CHAIN_NODE_CLI_COM_ESBOCS_UNREC_COM_ERR; diff --git a/modules/net/dap_chain_net.c b/modules/net/dap_chain_net.c index 4456663b507a87187c842020bb185ae984b90dc8..25fd42f600447960bb6822659f30d3e613b140cb 100644 --- a/modules/net/dap_chain_net.c +++ b/modules/net/dap_chain_net.c @@ -3208,10 +3208,10 @@ static dap_chain_t *s_switch_sync_chain(dap_chain_net_t *a_net) } l_net_pvt->sync_context.cur_chain = l_curr_chain; if (l_curr_chain) { - log_it(L_DEBUG, "Go to chain \"%s\" for net %s", l_curr_chain->name, l_curr_chain->net_name); + debug_if(s_debug_more, L_DEBUG, "Go to chain \"%s\" for net %s", l_curr_chain->name, l_curr_chain->net_name); return l_curr_chain; } - log_it(L_DEBUG, "Go to next chain: <NULL>"); + debug_if(s_debug_more, L_DEBUG, "Go to next chain: <NULL>"); if (l_net_pvt->state_target != NET_STATE_ONLINE) { dap_chain_net_state_go_to(a_net, NET_STATE_OFFLINE); return NULL;