Update p2p-segwit.py to reflect correct AskFor behavior

This commit is contained in:
instagibbs 2016-08-16 14:11:10 -04:00
parent 2c2d471e18
commit bc1d1f2660
1 changed files with 1 additions and 2 deletions

View File

@ -946,8 +946,7 @@ class SegWitTest(BitcoinTestFramework):
self.test_node.test_transaction_acceptance(tx, with_witness=True, accepted=False)
# Verify that removing the witness succeeds.
# Re-announcing won't result in a getdata for ~2.5 minutes, so just
# deliver the modified transaction.
self.test_node.announce_tx_and_wait_for_getdata(tx)
self.test_node.test_transaction_acceptance(tx, with_witness=False, accepted=True)
# Now try to add extra witness data to a valid witness tx.