diff --git a/src/node/miner.cpp b/src/node/miner.cpp index 9a68f2b33b..f911e7ad2e 100644 --- a/src/node/miner.cpp +++ b/src/node/miner.cpp @@ -612,10 +612,10 @@ void PoSMiner(std::shared_ptr pwallet, NodeContext& m_node) LogPrintf("Set proof-of-stake timeout: %ums for %u UTXOs\n", pos_timio, vCoins.size()); } - std::string strMintMessage = _("Info: Staking suspended due to locked wallet.").translated; - std::string strMintSyncMessage = _("Info: Staking suspended while synchronizing wallet.").translated; - std::string strMintDisabledMessage = _("Info: Staking disabled by 'nominting' option.").translated; - std::string strMintBlockMessage = _("Info: Staking suspended due to block creation failure.").translated; + std::string strMintMessage = _("Info: Staking suspended due to locked wallet").translated; + std::string strMintSyncMessage = _("Info: Staking suspended while synchronizing wallet").translated; + std::string strMintDisabledMessage = _("Info: Staking disabled by 'nostaking' option").translated; + std::string strMintBlockMessage = _("Info: Staking suspended due to block creation failure").translated; std::string strMintEmpty = ""; if (!gArgs.GetBoolArg("-staking", DEFAULT_STAKE)) { diff --git a/src/warnings.cpp b/src/warnings.cpp index a04ccff1bb..a15043216a 100644 --- a/src/warnings.cpp +++ b/src/warnings.cpp @@ -43,6 +43,13 @@ bilingual_str GetWarnings(bool verbose) warnings_verbose.emplace_back(warnings_concise); } + // Wallet warnings for staking + if (strMintWarning != "") + { + warnings_concise = Untranslated(strMintWarning); + warnings_verbose.emplace_back(warnings_concise); + } + // Misc warnings like out of disk space and clock is wrong if (!g_misc_warnings.empty()) { warnings_concise = g_misc_warnings;