From eedcbb9a016a141ab59a96711267a8b58bb2ca6d Mon Sep 17 00:00:00 2001 From: ANTA <arcticshine999@gmail.com> Date: Fri, 5 Jul 2019 23:24:13 +0400 Subject: [PATCH] 'commit_2322_3' --- sources/main_node_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/main_node_tool.c b/sources/main_node_tool.c index 357c8b57f..bca9ce3ae 100644 --- a/sources/main_node_tool.c +++ b/sources/main_node_tool.c @@ -174,7 +174,7 @@ int main( int argc, const char **argv ) size_t l_wallet_path_size = strlen( l_wallet_name ) + strlen( SYSTEM_WALLET_DIR ) + 10; char * l_wallet_path = DAP_NEW_Z_SIZE( char, l_wallet_path_size ); - dap_snprintf( l_wallet_path, l_wallet_path_size, "%s/%s.dwallet", SYSTEM_WALLET_DIR, l_wallet_name ); + snprintf( l_wallet_path, l_wallet_path_size, "%s/%s.dwallet", SYSTEM_WALLET_DIR, l_wallet_name ); l_wallet = dap_chain_wallet_create( l_wallet_name, SYSTEM_WALLET_DIR, l_network_id, l_sig_type ); DAP_DELETE (l_wallet_path); -- GitLab