From 366011679534b5c960ae618bb6aed1112ab0a5e9 Mon Sep 17 00:00:00 2001
From: Constantin Papizh <p.const@bk.ru>
Date: Thu, 13 Feb 2020 15:12:03 +0300
Subject: [PATCH] Wallets init fix

---
 dap_chain_wallet.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dap_chain_wallet.c b/dap_chain_wallet.c
index 83e2ef2..5c68e26 100755
--- a/dap_chain_wallet.c
+++ b/dap_chain_wallet.c
@@ -110,11 +110,6 @@ const char* dap_chain_wallet_get_path(dap_config_t * a_config)
     static char l_wallets_path[MAX_PATH];
     if (strlen(l_wallets_path) > 3)
         goto RET;
-
-#ifdef _WIN32
-    memcpy(l_wallets_path, s_sys_dir_path, l_sys_dir_path_len);
-    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;
-- 
GitLab