11 void SplitWalletPath(
const fs::path& wallet_path, fs::path& env_directory, std::string& database_filename)
13 if (fs::is_regular_file(wallet_path)) {
17 env_directory = wallet_path.parent_path();
18 database_filename = wallet_path.filename().string();
22 env_directory = wallet_path;
23 database_filename =
"wallet.dat";
void SplitWalletPath(const fs::path &wallet_path, fs::path &env_directory, std::string &database_filename)