diff --git a/dap_chain_wallet.c b/dap_chain_wallet.c
index 882ca12cf01bf897cea5edb22a5be14f9e3c5ab5..3767b7b9394477d92d98b281ee231a22434e4332 100755
--- a/dap_chain_wallet.c
+++ b/dap_chain_wallet.c
@@ -113,8 +113,9 @@ const char* dap_chain_wallet_get_path(dap_config_t * a_config)
 
 #ifdef _WIN32
     memcpy(l_wallets_path, s_sys_dir_path, l_sys_dir_path_len);
-#endif
     dap_sprintf(l_wallets_path + g_sys_dir_path_len, "%s", dap_config_get_item_str(g_config, "resources", "wallets_path"));
+#endif
+    dap_sprintf(l_wallets_path, "%s", dap_config_get_item_str(g_config, "resources", "wallets_path"));
 RET:
     return l_wallets_path;
 }