tests: drop expect_disconnect behaviour for tx relay

This commit is contained in:
Anthony Towns
2025-08-08 23:15:17 +10:00
parent b29ae9efdf
commit 876dbdfb47
4 changed files with 2 additions and 35 deletions

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