Skip to content

Commit 58bc35b

Browse files
committed
Optional arg fixed
1 parent 6a57f11 commit 58bc35b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bittensor/utils/axon_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
NANOSECONDS_IN_SECOND = 1_000_000_000
2222

2323

24-
def allowed_nonce_window_ns(current_time_ns: int, synapse_timeout: Optional[float]):
24+
def allowed_nonce_window_ns(
25+
current_time_ns: int, synapse_timeout: Optional[float] = None
26+
) -> int:
2527
"""
2628
Calculates the allowed window for a nonce in nanoseconds.
2729

0 commit comments

Comments
 (0)