NebraLtd / hm-pyhelper

A helper module used across various Nebra repos to reduce redundant features.
https://nebra.io/hmpyhelper
MIT License
8 stars 16 forks source link

did_gateway_mfr_test_result_include_miner_key_pass - does not use correct slot #254

Open shawaj opened 1 year ago

shawaj commented 1 year ago

As per this function:

https://github.com/NebraLtd/hm-pyhelper/blob/2a6067a56c609a6e7a985fba7ee270d9c8fe439e/hm_pyhelper/miner_param.py#L254-L268

The did_gateway_mfr_test_result_include_miner_key_pass only checks slot 0.

If the slot is 2 for example the key in the output will be miner_key(2) and this will fail