mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Update p2p-segwit.py to reflect correct AskFor behavior
Github-Pull: #8528
Rebased-From: bc1d1f2660
This commit is contained in:
parent
733760a700
commit
3606b6b3a7
1 changed files with 1 additions and 2 deletions
|
|
@ -946,8 +946,7 @@ class SegWitTest(BitcoinTestFramework):
|
||||||
self.test_node.test_transaction_acceptance(tx, with_witness=True, accepted=False)
|
self.test_node.test_transaction_acceptance(tx, with_witness=True, accepted=False)
|
||||||
|
|
||||||
# Verify that removing the witness succeeds.
|
# Verify that removing the witness succeeds.
|
||||||
# Re-announcing won't result in a getdata for ~2.5 minutes, so just
|
self.test_node.announce_tx_and_wait_for_getdata(tx)
|
||||||
# deliver the modified transaction.
|
|
||||||
self.test_node.test_transaction_acceptance(tx, with_witness=False, accepted=True)
|
self.test_node.test_transaction_acceptance(tx, with_witness=False, accepted=True)
|
||||||
|
|
||||||
# Now try to add extra witness data to a valid witness tx.
|
# Now try to add extra witness data to a valid witness tx.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue