aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/getblocktemplate_longpoll.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-11-12 08:12:59 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-11-12 08:22:36 +0100
commit5fcc14ee0562faff2ace17082f664e60c375b334 (patch)
treef546298e4e9cfa8ccccd1ae44ec918ea8f014296 /qa/rpc-tests/getblocktemplate_longpoll.py
parentcbf9609c71c6dca6efac8504dc9bd82f6b205cc9 (diff)
parentb5cbd396ca7214f4f944163ed314456038fdd818 (diff)
downloadbitcoin-5fcc14ee0562faff2ace17082f664e60c375b334.tar.xz
Merge pull request #6804
b5cbd39 Add basic coverage reporting for RPC tests (James O'Beirne)
Diffstat (limited to 'qa/rpc-tests/getblocktemplate_longpoll.py')
-rwxr-xr-xqa/rpc-tests/getblocktemplate_longpoll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getblocktemplate_longpoll.py b/qa/rpc-tests/getblocktemplate_longpoll.py
index aab4562422..1ddff8a298 100755
--- a/qa/rpc-tests/getblocktemplate_longpoll.py
+++ b/qa/rpc-tests/getblocktemplate_longpoll.py
@@ -38,7 +38,7 @@ class LongpollThread(threading.Thread):
self.longpollid = templat['longpollid']
# create a new connection to the node, we can't use the same
# connection from two threads
- self.node = AuthServiceProxy(node.url, timeout=600)
+ self.node = get_rpc_proxy(node.url, 1, timeout=600)
def run(self):
self.node.getblocktemplate({'longpollid':self.longpollid})