aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorinstagibbs <gsanders87@gmail.com>2016-08-16 14:11:10 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2016-09-21 02:43:47 +0000
commit3606b6b3a7fed177d8039f3b8f45eb0e48e9db92 (patch)
tree0d9a64d2013535255c8faf9c1f06a7eae0d8ef34 /qa
parent733760a700ac97e59a3e3ae5565ba45616aa079e (diff)
downloadbitcoin-3606b6b3a7fed177d8039f3b8f45eb0e48e9db92.tar.xz
Update p2p-segwit.py to reflect correct AskFor behavior
Github-Pull: #8528 Rebased-From: bc1d1f266046ec79e87c7bf90aaf279f43266cf5
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/p2p-segwit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qa/rpc-tests/p2p-segwit.py b/qa/rpc-tests/p2p-segwit.py
index cd02692b1e..3813743e5b 100755
--- a/qa/rpc-tests/p2p-segwit.py
+++ b/qa/rpc-tests/p2p-segwit.py
@@ -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.