From d9e021486f405d552d68c734d42a03a42a40a05f Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Thu, 27 Jul 2023 11:35:24 +0200 Subject: [PATCH] lint: fix codespell lint issues --- src/net_processing.cpp | 2 +- test/lint/lint-spelling.ignore-words.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index c56cfc154a..021e54d4b7 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2023,7 +2023,7 @@ void PeerManagerImpl::ProcessHeadersMessage(CNode& pfrom, const Peer& peer, if ((nodestate->pindexBestKnownBlock == nullptr) || (nodestate->pindexBestKnownBlock->nHeight < m_chainman.ActiveHeight())) { // Our notion of what blocks a peer has available is based on its pindexBestKnownBlock, - // which is based on headers recieved from it. If we don't have one, or it's too old, + // which is based on headers received from it. If we don't have one, or it's too old, // then we can never get blocks from this peer until we accept headers from it first. LogPrint(BCLog::NET, "NOT discarding headers from peer=%d, to update its block availability. (current best header %d, active chain height %d)\n", pfrom.GetId(), pindexBestHeader->nHeight, m_chainman.ActiveHeight()); } else { diff --git a/test/lint/lint-spelling.ignore-words.txt b/test/lint/lint-spelling.ignore-words.txt index e57949ac64..0d2be72d2a 100644 --- a/test/lint/lint-spelling.ignore-words.txt +++ b/test/lint/lint-spelling.ignore-words.txt @@ -17,3 +17,5 @@ useable mut wit te +ligh +atack