aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/zmq_test.py
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-09-17 16:32:00 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2015-10-01 14:02:26 +0200
commita9c27cdf55d5b5b7e07d189e5bfe2d6bc85867bb (patch)
treee9c69ee9b61b2f9ffea274295fd6c432b8f941d5 /qa/rpc-tests/zmq_test.py
parent110a1fd7271eb90448498302e2d95dab770513d6 (diff)
[travis] add zmq python module
Diffstat (limited to 'qa/rpc-tests/zmq_test.py')
-rwxr-xr-xqa/rpc-tests/zmq_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/zmq_test.py b/qa/rpc-tests/zmq_test.py
index fffaf677d6..e949b61f5d 100755
--- a/qa/rpc-tests/zmq_test.py
+++ b/qa/rpc-tests/zmq_test.py
@@ -32,8 +32,6 @@ class ZMQTest (BitcoinTestFramework):
self.zmqSubSocket.setsockopt(zmq.SUBSCRIBE, "hashblock")
self.zmqSubSocket.setsockopt(zmq.SUBSCRIBE, "hashtx")
self.zmqSubSocket.connect("tcp://127.0.0.1:%i" % self.port)
- # Note: proxies are not used to connect to local nodes
- # this is because the proxy to use is based on CService.GetNetwork(), which return NET_UNROUTABLE for localhost
return start_nodes(4, self.options.tmpdir, extra_args=[
['-zmqpubhashtx=tcp://127.0.0.1:'+str(self.port), '-zmqpubhashblock=tcp://127.0.0.1:'+str(self.port)],
[],
@@ -41,6 +39,8 @@ class ZMQTest (BitcoinTestFramework):
[]
])
+ return nodes
+
def run_test(self):
self.sync_all()