Skip to content

Commit 30a3230

Browse files
committed
script: remove out-of-date snprintf TODO
that was resolved in PR27036 "test: Remove last uses of snprintf and simplify" and while here, fix up 2 words in docs to make the spelling linter green again.
1 parent 0e01514 commit 30a3230

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/blockencodings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class PartiallyDownloadedBlock {
135135
public:
136136
CBlockHeader header;
137137

138-
// Can be overriden for testing
138+
// Can be overridden for testing
139139
using CheckBlockFn = std::function<bool(const CBlock&, BlockValidationState&, const Consensus::Params&, bool, bool)>;
140140
CheckBlockFn m_check_block_mock{nullptr};
141141

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
16711671
// Therefore, we do not add them to addrman in the first place.
16721672
// In case previously unreachable networks become reachable
16731673
// (e.g. in case of -onlynet changes by the user), fixed seeds will
1674-
// be loaded only for networks for which we have no addressses.
1674+
// be loaded only for networks for which we have no addresses.
16751675
seed_addrs.erase(std::remove_if(seed_addrs.begin(), seed_addrs.end(),
16761676
[&fixed_seed_networks](const CAddress& addr) { return fixed_seed_networks.count(addr.GetNetwork()) == 0; }),
16771677
seed_addrs.end());

test/lint/lint-locale-dependence.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#
3535
# See https://doc.qt.io/qt-5/qcoreapplication.html#locale-settings and
3636
# https://stackoverflow.com/a/34878283 for more details.
37-
#
38-
# TODO: Reduce KNOWN_VIOLATIONS by replacing uses of locale dependent snprintf with strprintf.
3937

4038
import re
4139
import sys

0 commit comments

Comments
 (0)