Skip to content

Commit

Permalink
Merge pull request #16 from NebraLtd/tweaks
Browse files Browse the repository at this point in the history
Default to helium-miner hostname for client & pin JSON RPC Client req…
  • Loading branch information
robputt authored Sep 21, 2021
2 parents 8b25b14 + 3ab067a commit aa4306a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hm_pyhelper/miner_json_rpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion hm_pyhelper/tests/test_miner_json_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

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(),
long_description_content_type="text/markdown",
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",
Expand Down

0 comments on commit aa4306a

Please sign in to comment.