diff --git a/hm_pyhelper/miner_json_rpc/client.py b/hm_pyhelper/miner_json_rpc/client.py index c9084cf..678007c 100644 --- a/hm_pyhelper/miner_json_rpc/client.py +++ b/hm_pyhelper/miner_json_rpc/client.py @@ -3,7 +3,7 @@ class Client(object): - def __init__(self, url='http://localhost:4467'): + def __init__(self, url='http://helium-miner:4467'): self.url = url def __fetch_data(self, method, **kwargs): diff --git a/hm_pyhelper/tests/test_miner_json_rpc.py b/hm_pyhelper/tests/test_miner_json_rpc.py index dfc3699..ade6d47 100644 --- a/hm_pyhelper/tests/test_miner_json_rpc.py +++ b/hm_pyhelper/tests/test_miner_json_rpc.py @@ -3,7 +3,7 @@ from hm_pyhelper.miner_json_rpc import MinerClient -BASE_URL = 'http://localhost:4467' +BASE_URL = 'http://helium-miner:4467' class Result(object): diff --git a/setup.py b/setup.py index 731f87a..dde8245 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.3', + version='0.4', author="Nebra Ltd", description="Helium Python Helper", long_description=open(join(dirname(__file__), 'README.md')).read(), @@ -11,7 +11,7 @@ url="https://github.com/NebraLtd/hm-pyhelper", install_requires=[ 'requests>=2.26.0', - 'jsonrpcclient>=3.3.6' + 'jsonrpcclient==3.3.6' ], project_urls={ "Bug Tracker": "https://github.com/NebraLtd/hm-pyhelper/issues",