diff --git a/dap_chain_node_cli_cmd.c b/dap_chain_node_cli_cmd.c index 01b64f48e8cb1dc95b1dfbfd47f1ac41d67081a7..e1f18afc3ca66a10263c3e8c3245223a6546762e 100644 --- a/dap_chain_node_cli_cmd.c +++ b/dap_chain_node_cli_cmd.c @@ -2259,15 +2259,15 @@ int com_tx_cond_create(int argc, char ** argv, char **str_reply) const char *c_wallets_path = dap_chain_wallet_get_path(g_config); const char *c_wallet_name_from = "w_tesla"; // where to take coins for service const char *c_wallet_name_cond = "w_picnic"; // who will be use service, usually the same address (addr_from) - //const char *c_net_name = "kelvin-testnet"; +// const char *c_net_name = "kelvin-testnet"; uint64_t l_value = 50; //debug - /*{ - dap_chain_wallet_t * l_wallet_tesla = dap_chain_wallet_open("w_picnic", c_wallets_path); - const dap_chain_addr_t *l_addr_tesla = dap_chain_wallet_get_addr(l_wallet_tesla); - char *addr = dap_chain_addr_to_str(l_addr_tesla); - addr = 0; - }*/ + { +// dap_chain_wallet_t * l_wallet_tesla = dap_chain_wallet_open("w_picnic", c_wallets_path); +// const dap_chain_addr_t *l_addr_tesla = dap_chain_wallet_get_addr(l_wallet_tesla); + // char *addr = dap_chain_addr_to_str(l_addr_tesla); +// addr = 0; + } dap_chain_wallet_t *l_wallet_from = dap_chain_wallet_open(c_wallet_name_from, c_wallets_path); dap_enc_key_t *l_key = dap_chain_wallet_get_key(l_wallet_from, 0); @@ -2302,6 +2302,8 @@ int com_tx_cond_create(int argc, char ** argv, char **str_reply) int com_tx_create(int argc, char ** argv, char **str_reply) { int arg_index = 1; +// int cmd_num = 1; +// const char *value_str = NULL; const char *addr_base58_to = NULL; const char *addr_base58_fee = NULL; const char *str_tmp = NULL;