Skip to content

Commit 295bdde

Browse files
committed
Debug
1 parent 0761f0d commit 295bdde

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bittensor/core/subtensor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,7 @@ def blocks_since_last_update(self, netuid: int, uid: int) -> Optional[int]:
496496
Optional[int]: The number of blocks since the last update, or ``None`` if the subnetwork or UID does not
497497
exist.
498498
"""
499-
call = self.get_hyperparameter(
500-
param_name="LastUpdate", netuid=netuid, block=block
501-
)
499+
call = self.get_hyperparameter(param_name="LastUpdate", netuid=netuid)
502500
return None if call is None else self.get_current_block() - int(call[uid])
503501

504502
def bonds(

0 commit comments

Comments
 (0)