mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
script: appease spelling linter
This commit is contained in:
parent
1316119ce7
commit
6c97757a48
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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()};
|
||||
|
|
Loading…
Add table
Reference in a new issue