diff --git a/dap-sdk b/dap-sdk index 90f390fa4c304be9c5cb9675216642f22b97f5d0..40f0762e0de57244851ef19436bda14c56664628 160000 --- a/dap-sdk +++ b/dap-sdk @@ -1 +1 @@ -Subproject commit 90f390fa4c304be9c5cb9675216642f22b97f5d0 +Subproject commit 40f0762e0de57244851ef19436bda14c56664628 diff --git a/modules/net/dap_chain_ledger.c b/modules/net/dap_chain_ledger.c index 8f0d62be82e7026d8bf94cbb46ad8d28198826cb..f6e706ced1ab2bc162aeac07bc8de5331c5232d2 100644 --- a/modules/net/dap_chain_ledger.c +++ b/modules/net/dap_chain_ledger.c @@ -1219,9 +1219,8 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke int l_res_token_tsd_parse = 0; char *l_balance_dbg = NULL; - if (s_debug_more) { + if (s_debug_more) dap_uint256_to_char(l_token->total_supply, &l_balance_dbg); - } #define CLEAN_UP DAP_DEL_MULTY(l_token, l_token_item->auth_pkeys, l_token_item->auth_pkeys_hash, l_token_item) @@ -1299,7 +1298,6 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke return -1; } #undef CLEAN_UP - DAP_DELETE(l_balance_dbg); s_threshold_emissions_proc(a_ledger); /* TODO process thresholds only for no-consensus chains */ s_ledger_token_cache_update(a_ledger, l_token_item); return 0;