diff options
author | Jon Atack <jon@atack.com> | 2023-06-15 15:08:03 -0600 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2023-06-29 16:14:07 -0600 |
commit | 6c97757a480b6e71a0750330d69ff18ac7cc6127 (patch) | |
tree | 5811b4870f1e3bf9a70364e996eea4ca0f004886 | |
parent | 1316119ce7ba3de4135bbf1e5ac28c9ea26f62e1 (diff) |
script: appease spelling linter
-rw-r--r-- | src/addrdb.cpp | 2 | ||||
-rw-r--r-- | src/test/miniminer_tests.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/addrdb.cpp b/src/addrdb.cpp index cb1c49050e..0fcb5ed5c9 100644 --- a/src/addrdb.cpp +++ b/src/addrdb.cpp @@ -210,7 +210,7 @@ util::Result<std::unique_ptr<AddrMan>> LoadAddrman(const NetGroupManager& netgro 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."), e.what(), PACKAGE_BUGREPORT, fs::quoted(fs::PathToString(path_addr)))}; } - return {std::move(addrman)}; // std::move should be unneccessary but is temporarily needed to work around clang bug + return {std::move(addrman)}; // std::move should be unnecessary but is temporarily needed to work around clang bug // (https://github.com/bitcoin/bitcoin/pull/25977#issuecomment-1561270092) } diff --git a/src/test/miniminer_tests.cpp b/src/test/miniminer_tests.cpp index b26f7dafe3..1ee9e0c066 100644 --- a/src/test/miniminer_tests.cpp +++ b/src/test/miniminer_tests.cpp @@ -463,8 +463,8 @@ BOOST_FIXTURE_TEST_CASE(calculate_cluster, TestChain100Setup) } const auto vec_iters_zigzag = pool.GetIterVec(zigzag_txids); // It doesn't matter which tx we calculate cluster for, everybody is in it. - const std::vector<size_t> indeces{0, 22, 72, zigzag_txids.size() - 1}; - for (const auto index : indeces) { + const std::vector<size_t> indices{0, 22, 72, zigzag_txids.size() - 1}; + for (const auto index : indices) { const auto cluster = pool.GatherClusters({zigzag_txids[index]}); BOOST_CHECK_EQUAL(cluster.size(), zigzag_txids.size()); CTxMemPool::setEntries clusterset{cluster.begin(), cluster.end()}; |