core_validator hotfix
core_validator fix
@@ -103,9 +103,9 @@ class neuron:
# === Create Bittensor objects ===
bittensor.logging( config = self.config, logging_dir = self.config.neuron.full_path )
- self.wallet = bittensor.wallet ( config = self.config.wallet ) if wallet == None else wallet
- self.subtensor = bittensor.subtensor ( config = self.config.subtensor ) if subtensor == None else subtensor
- self.metagraph = bittensor.metagraph ( config = config.metagraph, subtensor = self.subtensor ) if metagraph == None else metagraph
+ self.wallet = bittensor.wallet ( config = self.config ) if wallet == None else wallet
+ self.subtensor = bittensor.subtensor ( config = self.config ) if subtensor == None else subtensor
+ self.metagraph = bittensor.metagraph ( config = self.config, subtensor = self.subtensor ) if metagraph == None else metagraph
self.dendrite = bittensor.dendrite ( config = self.config, wallet = self.wallet ) if dendrite == None else dendrite
self.device = torch.device ( device = self.config.neuron.device )
self.nucleus = nucleus ( config = self.config, device = self.device, subtensor = self.subtensor ).to( self.device )
