From 6d7e46ce23217da53ff52f535879c393c02fa2b2 Mon Sep 17 00:00:00 2001 From: Prayank Date: Sun, 30 May 2021 20:56:49 +0530 Subject: Remove `Warning:` + Remove `Warning:` from warning message printed for unknown new rules + Change warning message in test Author: Prayank --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validation.cpp') diff --git a/src/validation.cpp b/src/validation.cpp index 86539ab01f..89ab46a0a6 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2333,7 +2333,7 @@ static void UpdateTip(CTxMemPool& mempool, const CBlockIndex* pindexNew, const C WarningBitsConditionChecker checker(bit); ThresholdState state = checker.GetStateFor(pindex, chainParams.GetConsensus(), warningcache[bit]); if (state == ThresholdState::ACTIVE || state == ThresholdState::LOCKED_IN) { - const bilingual_str warning = strprintf(_("Warning: unknown new rules activated (versionbit %i)"), bit); + const bilingual_str warning = strprintf(_("Unknown new rules activated (versionbit %i)"), bit); if (state == ThresholdState::ACTIVE) { DoWarning(warning); } else { -- cgit v1.2.3