Log which wallet is used during init

Now that the wallet can be selected using -wallet it is important
to log which wallet is being used for later troubleshooting.
This commit is contained in:
Wladimir J. van der Laan 2014-03-05 16:15:04 +01:00
parent 334bd22e75
commit 8a6894ca3e

View file

@ -593,6 +593,7 @@ bool AppInit2(boost::thread_group& threadGroup)
// ********************************************************* Step 5: verify wallet database integrity // ********************************************************* Step 5: verify wallet database integrity
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
if (!fDisableWallet) { if (!fDisableWallet) {
LogPrintf("Using wallet %s\n", strWalletFile);
uiInterface.InitMessage(_("Verifying wallet...")); uiInterface.InitMessage(_("Verifying wallet..."));
if (!bitdb.Open(GetDataDir())) if (!bitdb.Open(GetDataDir()))