diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-11-14 17:44:01 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-11-14 17:44:09 -0500 |
commit | 3bdf242fc68a8d767932c6214455d4d413effbc9 (patch) | |
tree | ae7a4761d770435c300f9996f6b40ad98d0f539d /test/functional/test_framework/test_node.py | |
parent | 6d4821b693b2dc0aca285ae8b33ff388282bceb6 (diff) | |
parent | fafdad0d461330aee7a17db57a9d8f25906203cc (diff) |
Merge #11677: qa: Remove unused NodeConn members
fafdad0d4 qa: Remove unused NodeConn members (MarcoFalke)
Pull request description:
* `ver_send` and `ver_recv` were completely unused
* `rpc` was only used once, in p2p-segwit. Imo better only pass it to the constructor in that single test
Tree-SHA512: 7f85554d6d0fd2096516ca3c608811d5370da66cde35d8031bdc921607a7a4efdb26355896012f75f713f8df09e28d46ba46be69fd96a5898fabb1a25cbcb8ad
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-x | test/functional/test_framework/test_node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 73018ee5da..34b458482a 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -168,7 +168,7 @@ class TestNode(): if 'dstaddr' not in kwargs: kwargs['dstaddr'] = '127.0.0.1' self.p2ps.append(p2p_conn) - kwargs.update({'rpc': self.rpc, 'callback': p2p_conn}) + kwargs.update({'callback': p2p_conn}) p2p_conn.add_connection(NodeConn(**kwargs)) return p2p_conn |