Skip to content

Commit

Permalink
Adds archive node back for finney
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem-opentensor committed Aug 26, 2024
1 parent 84da316 commit 1f26313
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2260,9 +2260,14 @@ def root_list_delegates(
This function is part of the Bittensor CLI tools and is intended for use within a console application. It prints
directly to the console and does not return any value.
"""
return self._run_command(
root.list_delegates(subtensor=self.initialize_chain(network, chain))
)
if network not in ["local", "test"]:
sub = self.initialize_chain(
"archive", "wss://archive.chain.opentensor.ai:443"
)
else:
sub = self.initialize_chain(network, chain)

return self._run_command(root.list_delegates(sub))

def root_nominate(
self,
Expand Down

0 comments on commit 1f26313

Please sign in to comment.