mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-29 13:32:33 +02:00
Make protocol change warning clearer
This commit is contained in:
parent
a2405f7347
commit
c38f2685f4
@ -3000,7 +3000,7 @@ void Chainstate::UpdateTip(const CBlockIndex* pindexNew)
|
||||
WarningBitsConditionChecker checker(m_chainman, bit);
|
||||
ThresholdState state = checker.GetStateFor(pindex, params.GetConsensus(), m_chainman.m_warningcache.at(bit));
|
||||
if (state == ThresholdState::ACTIVE || state == ThresholdState::LOCKED_IN) {
|
||||
const bilingual_str warning = strprintf(_("Unknown new rules activated (versionbit %i)"), bit);
|
||||
const bilingual_str warning = strprintf(_("WARNING: Unknown new rules activated (versionbit %i) - this software is not secure"), bit);
|
||||
warning_messages.push_back(warning);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user