Skip to content

Commit d9e0214

Browse files
committed
lint: fix codespell lint issues
1 parent dcb3a05 commit d9e0214

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,7 @@ void PeerManagerImpl::ProcessHeadersMessage(CNode& pfrom, const Peer& peer,
20232023
if ((nodestate->pindexBestKnownBlock == nullptr) ||
20242024
(nodestate->pindexBestKnownBlock->nHeight < m_chainman.ActiveHeight())) {
20252025
// Our notion of what blocks a peer has available is based on its pindexBestKnownBlock,
2026-
// which is based on headers recieved from it. If we don't have one, or it's too old,
2026+
// which is based on headers received from it. If we don't have one, or it's too old,
20272027
// then we can never get blocks from this peer until we accept headers from it first.
20282028
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());
20292029
} else {

test/lint/lint-spelling.ignore-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ useable
1717
mut
1818
wit
1919
te
20+
ligh
21+
atack

0 commit comments

Comments
 (0)