We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a57f11 commit 58bc35bCopy full SHA for 58bc35b
bittensor/utils/axon_utils.py
@@ -21,7 +21,9 @@
21
NANOSECONDS_IN_SECOND = 1_000_000_000
22
23
24
-def allowed_nonce_window_ns(current_time_ns: int, synapse_timeout: Optional[float]):
+def allowed_nonce_window_ns(
25
+ current_time_ns: int, synapse_timeout: Optional[float] = None
26
+) -> int:
27
"""
28
Calculates the allowed window for a nonce in nanoseconds.
29
0 commit comments