diff options
author | John Newbery <john@johnnewbery.com> | 2017-05-02 16:34:44 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-05-03 09:08:29 -0400 |
commit | 3e3c22f09d37169fa88327323c3755be6dbd9a62 (patch) | |
tree | 632303ea2e62d6a2f8a797ef0bf21e149c9f921a /test/functional/p2p-segwit.py | |
parent | dc8fc0c73bebbc1c48ac5540026030c9cc00ec23 (diff) | |
download | bitcoin-3e3c22f09d37169fa88327323c3755be6dbd9a62.tar.xz |
[tests] fix wait_for_inv()
Diffstat (limited to 'test/functional/p2p-segwit.py')
-rwxr-xr-x | test/functional/p2p-segwit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-segwit.py b/test/functional/p2p-segwit.py index 335777b2ab..1499ca525f 100755 --- a/test/functional/p2p-segwit.py +++ b/test/functional/p2p-segwit.py @@ -926,9 +926,9 @@ class SegWitTest(BitcoinTestFramework): tx3.wit.vtxinwit[0].scriptWitness.stack = [ witness_program ] # Also check that old_node gets a tx announcement, even though this is # a witness transaction. - self.old_node.wait_for_inv(CInv(1, tx2.sha256)) # wait until tx2 was inv'ed + self.old_node.wait_for_inv([CInv(1, tx2.sha256)]) # wait until tx2 was inv'ed self.test_node.test_transaction_acceptance(tx3, with_witness=True, accepted=True) - self.old_node.wait_for_inv(CInv(1, tx3.sha256)) + self.old_node.wait_for_inv([CInv(1, tx3.sha256)]) # Test that getrawtransaction returns correct witness information # hash, size, vsize |