CWallet* pwalletMain;
CClientUIInterface uiInterface;
-std::string strWalletFileName = "wallet.dat";
+std::string strWalletFileName;
bool fConfChange;
unsigned int nNodeLifespan;
unsigned int nDerivationMethodIndex;
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
std::string strDataDir = GetDataDir().string();
- std::string strWalletFileName = GetArg("-wallet", "wallet.dat");
+ strWalletFileName = GetArg("-wallet", "wallet.dat");
// strWalletFileName must be a plain filename without a directory
if (strWalletFileName != boost::filesystem::basename(strWalletFileName) + boost::filesystem::extension(strWalletFileName))