From c3930c1cf6e903dc3d8e9e7b13f36a228891b195 Mon Sep 17 00:00:00 2001 From: Kashif Iftikhar Date: Fri, 2 Sep 2022 17:48:26 +0500 Subject: [PATCH] Revert key regeneration logic. --- hm_pyhelper/miner_param.py | 9 --------- setup.py | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/hm_pyhelper/miner_param.py b/hm_pyhelper/miner_param.py index 174a831..a64976d 100644 --- a/hm_pyhelper/miner_param.py +++ b/hm_pyhelper/miner_param.py @@ -187,15 +187,6 @@ def provision_key(): LOGGER.error("[ECC Provisioning] Error during provisioning. %s" % str(exp)) provisioning_successful = False - # Try key generation. - if provisioning_successful is False: - try: - gateway_mfr_result = run_gateway_mfr("key --generate") - provisioning_successful = True - - except Exception as exp: - LOGGER.error("[ECC Provisioning] key --generate failed: %s" % str(exp)) - return provisioning_successful diff --git a/setup.py b/setup.py index 14c844a..83b9ba4 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.13.35', + version='0.13.36', author="Nebra Ltd", author_email="support@nebra.com", description="Helium Python Helper",