Skip to content

Commit c4a884d

Browse files
committed
Trivial: Revert translated string change, clarify wallet log messages
1 parent df9f712 commit c4a884d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wallet/wallet.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,7 +4016,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(const std::string& name,
40164016
}
40174017
}
40184018

4019-
uiInterface.InitMessage(strprintf(_("Loading wallet %s..."), walletFile));
4019+
uiInterface.InitMessage(_("Loading wallet..."));
40204020

40214021
int64_t nStart = GetTimeMillis();
40224022
bool fFirstRun = true;
@@ -4228,7 +4228,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(const std::string& name,
42284228
walletInstance->m_spend_zero_conf_change = gArgs.GetBoolArg("-spendzeroconfchange", DEFAULT_SPEND_ZEROCONF_CHANGE);
42294229
walletInstance->m_signal_rbf = gArgs.GetBoolArg("-walletrbf", DEFAULT_WALLET_RBF);
42304230

4231-
walletInstance->WalletLogPrintf("wallet %15dms\n", GetTimeMillis() - nStart);
4231+
walletInstance->WalletLogPrintf("Wallet completed loading in %15dms\n", GetTimeMillis() - nStart);
42324232

42334233
// Try to top up keypool. No-op if the wallet is locked.
42344234
walletInstance->TopUpKeyPool();
@@ -4281,7 +4281,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(const std::string& name,
42814281
}
42824282
walletInstance->ScanForWalletTransactions(pindexRescan, nullptr, reserver, true);
42834283
}
4284-
walletInstance->WalletLogPrintf("rescan %15dms\n", GetTimeMillis() - nStart);
4284+
walletInstance->WalletLogPrintf("Rescan completed in %15dms\n", GetTimeMillis() - nStart);
42854285
walletInstance->ChainStateFlushed(chainActive.GetLocator());
42864286
walletInstance->database->IncrementUpdateCounter();
42874287

0 commit comments

Comments
 (0)