NebraLtd / hm-diag

Helium Miner Diagnostics
https://nebra.io/hnt
MIT License
21 stars 25 forks source link

Wrong key defined in diagnostics.py #502

Closed shawaj closed 1 year ago

shawaj commented 1 year ago

https://github.com/NebraLtd/hm-diag/blob/71900ce1b3057dfee8f7aee419b9a1594ae66928/hw_diag/views/diagnostics.py#L262

@kashifpk I believe this should be KEY_PROVISIONING_KEY not SHUTDOWN_GATEWAY_KEY

I guess we will also need to add a:

from hw_diag.diagnostics.provision_key_diagnostic import KEY_PROVISIONING_KEY

Can you confirm?

shawaj commented 1 year ago

Related to #501

kashifpk commented 1 year ago

Yes @shawaj this is wrong, should have been KEY_PROVISIONING_KEY. The diagnostic report being used is correct but this would result in incorrect error reporting.