diff --git a/prompting/baseminer/miner.py b/prompting/baseminer/miner.py index e100da7..3eab380 100644 --- a/prompting/baseminer/miner.py +++ b/prompting/baseminer/miner.py @@ -254,7 +254,7 @@ def priority(self, synapse: Prompting) -> float: """ Define how miners should prioritize requests. - Miners may recieve messages from multiple entities at once. This function + Miners may receive messages from multiple entities at once. This function determines which request should be processed first. Higher values indicate that the request should be processed first. Lower values indicate that the request should be processed later. diff --git a/prompting/baseminer/priority.py b/prompting/baseminer/priority.py index c770c74..15addac 100644 --- a/prompting/baseminer/priority.py +++ b/prompting/baseminer/priority.py @@ -78,7 +78,7 @@ def priority(self, func: Callable, synapse: Prompting) -> float: priority = default_priority(self, synapse) except Exception as e: - # An error occured in the subclass priority function. + # An error occurred in the subclass priority function. bt.logging.error(f"Error in priority function: {e}") finally: