Skip to content

Commit 6c97757

Browse files
committed
script: appease spelling linter
1 parent 1316119 commit 6c97757

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/addrdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ util::Result<std::unique_ptr<AddrMan>> LoadAddrman(const NetGroupManager& netgro
210210
return util::Error{strprintf(_("Invalid or corrupt peers.dat (%s). If you believe this is a bug, please report it to %s. As a workaround, you can move the file (%s) out of the way (rename, move, or delete) to have a new one created on the next start."),
211211
e.what(), PACKAGE_BUGREPORT, fs::quoted(fs::PathToString(path_addr)))};
212212
}
213-
return {std::move(addrman)}; // std::move should be unneccessary but is temporarily needed to work around clang bug
213+
return {std::move(addrman)}; // std::move should be unnecessary but is temporarily needed to work around clang bug
214214
// (https://github.com/bitcoin/bitcoin/pull/25977#issuecomment-1561270092)
215215
}
216216

src/test/miniminer_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ BOOST_FIXTURE_TEST_CASE(calculate_cluster, TestChain100Setup)
463463
}
464464
const auto vec_iters_zigzag = pool.GetIterVec(zigzag_txids);
465465
// It doesn't matter which tx we calculate cluster for, everybody is in it.
466-
const std::vector<size_t> indeces{0, 22, 72, zigzag_txids.size() - 1};
467-
for (const auto index : indeces) {
466+
const std::vector<size_t> indices{0, 22, 72, zigzag_txids.size() - 1};
467+
for (const auto index : indices) {
468468
const auto cluster = pool.GatherClusters({zigzag_txids[index]});
469469
BOOST_CHECK_EQUAL(cluster.size(), zigzag_txids.size());
470470
CTxMemPool::setEntries clusterset{cluster.begin(), cluster.end()};

0 commit comments

Comments
 (0)