diff options
author | John Newbery <john@johnnewbery.com> | 2017-11-17 15:01:24 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-11-28 12:44:16 -0500 |
commit | dad596fc37c8733ab806a0aa4224ac437d37aee5 (patch) | |
tree | bf014d46fb9d4e0ae865756c422000914dc9c314 /test/functional/bip9-softforks.py | |
parent | e30d404385f46811eeeea05c55ef786bc4adcb77 (diff) | |
download | bitcoin-dad596fc37c8733ab806a0aa4224ac437d37aee5.tar.xz |
[tests] Make NodeConnCB a subclass of NodeConn
This makes NodeConnCB a subclass of NodeConn, and
removes the need for the client code to know
anything about the implementation details of NodeConnCB.
NodeConn can now be swapped out for any other implementation
of a low-level connection without changing client code.
Diffstat (limited to 'test/functional/bip9-softforks.py')
-rwxr-xr-x | test/functional/bip9-softforks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/bip9-softforks.py b/test/functional/bip9-softforks.py index 904789301a..ec4d1d9365 100755 --- a/test/functional/bip9-softforks.py +++ b/test/functional/bip9-softforks.py @@ -246,7 +246,7 @@ class BIP9SoftForksTest(ComparisonTestFramework): self.setup_network() self.test.add_all_connections(self.nodes) NetworkThread().start() - self.test.test_nodes[0].wait_for_verack() + self.test.p2p_connections[0].wait_for_verack() def get_tests(self): for test in itertools.chain( |