Skip to content

Commit

Permalink
missing network info from subtensor call
Browse files Browse the repository at this point in the history
  • Loading branch information
hscott-yuma committed Dec 5, 2024
1 parent 64c486a commit db6e44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precog/utils/bittensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def setup_bittensor_objects(self):
# if chain endpoint is set, overwrite network arg
self.config.subtensor.network = self.config.subtensor.chain_endpoint
# Initialize subtensor.
self.subtensor = bt.subtensor(config=self.config)
self.subtensor = bt.subtensor(config=self.config, chain_endpoint=self.config.subtensor.chain_endpoint)
self.metagraph = self.subtensor.metagraph(self.config.netuid)
self.wallet = bt.wallet(config=self.config)
self.dendrite = bt.dendrite(wallet=self.wallet)
Expand Down

0 comments on commit db6e44d

Please sign in to comment.