Skip to content
Snippets Groups Projects
Commit 95558f6a authored by Constantin P.'s avatar Constantin P. 💬
Browse files

Merge branch 'feature-12444' into 'release-5.3'

Feature 12444

See merge request !1730
parents 2bd56172 87738d31
No related branches found
No related tags found
1 merge request!1730Feature 12444
Pipeline #42857 failed with stage
in 8 minutes and 55 seconds
Subproject commit 0e4b729ab659a7fc882b6df526cf2b9f87cdaaeb
Subproject commit b67c2d87d32ec7f3575caef58b664adb1771fdc2
......@@ -359,11 +359,13 @@ const char* dap_chain_wallet_get_path(dap_config_t * a_config)
return s_wallets_path; /* Fine, just return existen value */
/* Retrieve Wallet's store path from config */
if ( !(l_cp = (char *) dap_config_get_item_str(a_config, "resources", "wallets_path")) )
if ( !(l_cp = dap_config_get_item_str_path_default(a_config, "resources", "wallets_path", NULL)) )
return log_it(L_WARNING, "No path to wallet's store has been defined"), l_cp;
return strncpy(s_wallets_path, l_cp, sizeof(s_wallets_path) - 1 ); /* Make local copy , return it to caller */
strncpy(s_wallets_path, l_cp, sizeof(s_wallets_path) - 1 ); /* Make local copy , return it to caller */
DAP_DEL_Z(l_cp);
return s_wallets_path;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment