From 49f2f3c89fac9f83c859eef03b34404879af6ed5 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 29 Jul 2025 13:19:44 +0100 Subject: [PATCH] doc: fix typos --- src/test/fuzz/txorphan.cpp | 2 +- test/functional/p2p_compactblocks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/fuzz/txorphan.cpp b/src/test/fuzz/txorphan.cpp index e6b3444749d..b6a6d855bdf 100644 --- a/src/test/fuzz/txorphan.cpp +++ b/src/test/fuzz/txorphan.cpp @@ -146,7 +146,7 @@ FUZZ_TARGET(txorphan, .init = initialize_orphanage) Assert(orphanage->TotalOrphanUsage() <= total_bytes_start); } } - // We are not guaranteed to have_tx after AddTx. There are a few possibile reasons: + // We are not guaranteed to have_tx after AddTx. There are a few possible reasons: // - tx itself exceeds the per-peer memory usage limit, so LimitOrphans had to remove it immediately // - tx itself exceeds the per-peer latency score limit, so LimitOrphans had to remove it immediately // - the orphanage needed trim and all other announcements from this peer are reconsiderable diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py index 80041e2b59a..56186bc1eb4 100755 --- a/test/functional/p2p_compactblocks.py +++ b/test/functional/p2p_compactblocks.py @@ -744,7 +744,7 @@ class CompactBlocksTest(BitcoinTestFramework): assert_not_equal(node.getbestblockhash(), block.hash_hex) test_node.sync_with_ping() - # The failure above was cached. Submitting the compact block again will returned a cached + # The failure above was cached. Submitting the compact block again will return a cached # consensus error (the code path is different) and still not get us disconnected (nor # advance the tip). test_node.send_and_ping(msg)