Skip to content

Commit f5ab2fe

Browse files
committed
Pass Proxy() timeout parameter properly
Previously setting the timeout would never work as the super() call used HTTP_TIMEOUT instead. [ yapified by gitreformat (github/ghtdak) on Mon Nov 30 21:11:13 2015 ]
1 parent 6752f3b commit f5ab2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def __init__(self,
220220
super(Proxy, self).__init__(service_url=service_url,
221221
service_port=service_port,
222222
btc_conf_file=btc_conf_file,
223-
timeout=HTTP_TIMEOUT,
223+
timeout=timeout,
224224
**kwargs)
225225

226226
def getaccountaddress(self, account=None):

0 commit comments

Comments
 (0)