diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-09 14:46:01 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-10 18:01:28 +0300 |
commit | da16f95c3fecf4ee1e9a1dc4333b0b92cd981afd (patch) | |
tree | abf2a7768f51cee5b3e04ce572a21b4e29f64f22 /src/wallet | |
parent | 4c9b9a4882e68835f16a52f1f0657efe47e589b5 (diff) | |
download | bitcoin-da16f95c3fecf4ee1e9a1dc4333b0b92cd981afd.tar.xz |
gui: Do not translate InitWarning messages in debug.log
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/load.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/load.cpp b/src/wallet/load.cpp index 45841b2ae1..16f3699d37 100644 --- a/src/wallet/load.cpp +++ b/src/wallet/load.cpp @@ -56,7 +56,7 @@ bool VerifyWallets(interfaces::Chain& chain, const std::vector<std::string>& wal bilingual_str error_string; std::vector<bilingual_str> warnings; bool verify_success = CWallet::Verify(chain, location, salvage_wallet, error_string, warnings); - if (!warnings.empty()) chain.initWarning(Join(warnings, "\n", OpTranslated)); + if (!warnings.empty()) chain.initWarning(Join(warnings, Untranslated("\n"))); if (!verify_success) { chain.initError(error_string); return false; @@ -73,7 +73,7 @@ bool LoadWallets(interfaces::Chain& chain, const std::vector<std::string>& walle bilingual_str error; std::vector<bilingual_str> warnings; std::shared_ptr<CWallet> pwallet = CWallet::CreateWalletFromFile(chain, WalletLocation(walletFile), error, warnings); - if (!warnings.empty()) chain.initWarning(Join(warnings, "\n", OpTranslated)); + if (!warnings.empty()) chain.initWarning(Join(warnings, Untranslated("\n"))); if (!pwallet) { chain.initError(error); return false; |