Skip to content

Commit 0b91359

Browse files
committed
Merge f20016d into merged_master (Elements PR ElementsProject#1252)
2 parents 3843f6f + f20016d commit 0b91359

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/net_processing.cpp

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

test/lint/lint-python-utf8-encoding.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
export LC_ALL=C
1111
EXIT_CODE=0
12-
OUTPUT=$(git grep " open(" -- "*.py" ":(exclude)src/crc32c/" | grep -vE "encoding=.(ascii|utf8|utf-8)." | grep -vE "open\([^,]*, ['\"][^'\"]*b[^'\"]*['\"]")
12+
OUTPUT=$(git grep " open(" -- "*.py" ":(exclude)src/crc32c/" ":(exclude)src/secp256k1/" | grep -vE "encoding=.(ascii|utf8|utf-8)." | grep -vE "open\([^,]*, ['\"][^'\"]*b[^'\"]*['\"]")
1313
if [[ ${OUTPUT} != "" ]]; then
1414
echo "Python's open(...) seems to be used to open text files without explicitly"
1515
echo "specifying encoding=\"utf8\":"

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ useable
2626
validata
2727
wit
2828
xwindows
29+
te
30+
ligh
31+
atack

0 commit comments

Comments
 (0)