Skip to content

Commit 82d6d95

Browse files
committed
Pass Proxy() timeout parameter properly
Previously setting the timeout would never work as the super() call used HTTP_TIMEOUT instead.
1 parent 9f5a095 commit 82d6d95

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
@@ -209,7 +209,7 @@ def __init__(self, service_url=None,
209209
timeout - timeout in seconds before the HTTP interface times out
210210
"""
211211
super(Proxy, self).__init__(service_url=service_url, service_port=service_port, btc_conf_file=btc_conf_file,
212-
timeout=HTTP_TIMEOUT,
212+
timeout=timeout,
213213
**kwargs)
214214
def getaccountaddress(self, account=None):
215215
"""Return the current Bitcoin address for receiving payments to this account."""

0 commit comments

Comments
 (0)