aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2022-08-30 12:46:19 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2022-08-30 14:11:21 -0400
commit94af3e43e20aa00b18e7a3f6d0f5fe3ad9494d97 (patch)
treec47c30eda100f1cc41bc0093bc5f24fbd0d90719 /src
parente5982ecdc4650e9b6de38f190f3a97d792499e2a (diff)
Fix typo from PR25717
Diffstat (limited to 'src')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index a2a339a5a1..3e17d4cd87 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -3718,7 +3718,7 @@ void ChainstateManager::ReportHeadersPresync(const arith_uint256& work, int64_t
{
LOCK(cs_main);
// Don't report headers presync progress if we already have a post-minchainwork header chain.
- // This means we lose reporting for potentially legimate, but unlikely, deep reorgs, but
+ // This means we lose reporting for potentially legitimate, but unlikely, deep reorgs, but
// prevent attackers that spam low-work headers from filling our logs.
if (m_best_header->nChainWork >= UintToArith256(GetConsensus().nMinimumChainWork)) return;
// Rate limit headers presync updates to 4 per second, as these are not subject to DoS