From c4a884d555e75cf43c695517f3f8344be177e5eb Mon Sep 17 00:00:00 2001 From: Pierre Rochard Date: Wed, 8 Aug 2018 10:42:13 -0400 Subject: [PATCH] Trivial: Revert translated string change, clarify wallet log messages --- src/wallet/wallet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index d4aed3b50..9bcf05858 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4016,7 +4016,7 @@ std::shared_ptr CWallet::CreateWalletFromFile(const std::string& name, } } - uiInterface.InitMessage(strprintf(_("Loading wallet %s..."), walletFile)); + uiInterface.InitMessage(_("Loading wallet...")); int64_t nStart = GetTimeMillis(); bool fFirstRun = true; @@ -4228,7 +4228,7 @@ std::shared_ptr CWallet::CreateWalletFromFile(const std::string& name, walletInstance->m_spend_zero_conf_change = gArgs.GetBoolArg("-spendzeroconfchange", DEFAULT_SPEND_ZEROCONF_CHANGE); walletInstance->m_signal_rbf = gArgs.GetBoolArg("-walletrbf", DEFAULT_WALLET_RBF); - walletInstance->WalletLogPrintf("wallet %15dms\n", GetTimeMillis() - nStart); + walletInstance->WalletLogPrintf("Wallet completed loading in %15dms\n", GetTimeMillis() - nStart); // Try to top up keypool. No-op if the wallet is locked. walletInstance->TopUpKeyPool(); @@ -4281,7 +4281,7 @@ std::shared_ptr CWallet::CreateWalletFromFile(const std::string& name, } walletInstance->ScanForWalletTransactions(pindexRescan, nullptr, reserver, true); } - walletInstance->WalletLogPrintf("rescan %15dms\n", GetTimeMillis() - nStart); + walletInstance->WalletLogPrintf("Rescan completed in %15dms\n", GetTimeMillis() - nStart); walletInstance->ChainStateFlushed(chainActive.GetLocator()); walletInstance->database->IncrementUpdateCounter();