bug: update whatsminer set_target_freq to match docs.
This commit is contained in:
@@ -607,10 +607,10 @@ class BTMinerRPCAPI(BaseMinerRPCAPI):
|
|||||||
A reply informing of the status of setting the frequency.
|
A reply informing of the status of setting the frequency.
|
||||||
</details>
|
</details>
|
||||||
"""
|
"""
|
||||||
if not -10 < percent < 100:
|
if not -100 < percent < 100:
|
||||||
raise APIError(
|
raise APIError(
|
||||||
f"Frequency % is outside of the allowed "
|
f"Frequency % is outside of the allowed "
|
||||||
f"range. Please set a % between -10 and "
|
f"range. Please set a % between -100 and "
|
||||||
f"100"
|
f"100"
|
||||||
)
|
)
|
||||||
return await self.send_privileged_command(
|
return await self.send_privileged_command(
|
||||||
|
|||||||
Reference in New Issue
Block a user