doc: fix typos

This commit is contained in:
fanquake
2025-07-29 13:19:44 +01:00
parent d818340e7e
commit 49f2f3c89f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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)