tests: drop expect_disconnect behaviour for tx relay

This commit is contained in:
Anthony Towns committed 2025-08-09 05:10:27 +10:00
1 parent b29ae9efdf
commit 876dbdfb47
4 files changed
+2 -35

No files matched your search

-5
View File
@@ -177,11 +177,6 @@ class FullBlockTest(BitcoinTestFramework):
for TxTemplate in invalid_txs.iter_all_templates():
template = TxTemplate(spend_tx=attempt_spend_tx)
# belt-and-suspenders checking we won't pass up validating something
# we expect a disconnect from
if template.expect_disconnect:
assert not template.valid_in_block
if template.valid_in_block:
continue