Skip to content

Commit

Permalink
Rename callback when enterring busy state.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Feb 26, 2024
1 parent 2635e86 commit 43c7c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atxm/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _process_idle(self):
self._sleep()

@_transition_to_busy.before
def _enter_work_mode(self):
def _enter_busy_mode(self):
"""About to enter busy work mode (speed up interval)"""
average_block_time = _get_average_blocktime(
w3=self.w3, sample_size=self._BLOCK_SAMPLE_SIZE
Expand Down

0 comments on commit 43c7c48

Please sign in to comment.