diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-11 14:39:50 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-11 14:48:16 +0200 |
commit | b45a6e8394e8c9e2886ae8b9aa0734996448ff37 (patch) | |
tree | b517a166815b2d9da1b218190cc9fc3c8bd188db /qa/rpc-tests/util.py | |
parent | ff6a7af154f2151c93a06b7ee86c167603c5ac55 (diff) |
Add test for getblocktemplate longpolling
Diffstat (limited to 'qa/rpc-tests/util.py')
-rw-r--r-- | qa/rpc-tests/util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/rpc-tests/util.py b/qa/rpc-tests/util.py index 0a7f26ffcd..fc7ae85776 100644 --- a/qa/rpc-tests/util.py +++ b/qa/rpc-tests/util.py @@ -156,7 +156,9 @@ def start_node(i, dir, extra_args=None, rpchost=None): ["-rpcwait", "getblockcount"], stdout=devnull) devnull.close() url = "http://rt:rt@%s:%d" % (rpchost or '127.0.0.1', rpc_port(i)) - return AuthServiceProxy(url) + proxy = AuthServiceProxy(url) + proxy.url = url # store URL on proxy for info + return proxy def start_nodes(num_nodes, dir, extra_args=None, rpchost=None): """ |