Skip to content

Commit

Permalink
Optional arg fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhaleking committed Dec 16, 2024
1 parent 6a57f11 commit 58bc35b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bittensor/utils/axon_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
NANOSECONDS_IN_SECOND = 1_000_000_000


def allowed_nonce_window_ns(current_time_ns: int, synapse_timeout: Optional[float]):
def allowed_nonce_window_ns(
current_time_ns: int, synapse_timeout: Optional[float] = None
) -> int:
"""
Calculates the allowed window for a nonce in nanoseconds.
Expand Down

0 comments on commit 58bc35b

Please sign in to comment.