diff --git a/bittensor/dendrite.py b/bittensor/dendrite.py index 6d9f546980..a99b28e300 100644 --- a/bittensor/dendrite.py +++ b/bittensor/dendrite.py @@ -256,7 +256,7 @@ async def forward( the requests, and then sends them off. After getting the responses, it processes and collates them into a unified format. - When querying an Axon that sends back data in chunks using the Dednrite, this function + When querying an Axon that sends back data in chunks using the Dendrite, this function returns an AsyncGenerator that yields each chunk as it is received. The generator can be iterated over to process each chunk individually. diff --git a/bittensor/metagraph.py b/bittensor/metagraph.py index c128dae983..789fb3b7a8 100644 --- a/bittensor/metagraph.py +++ b/bittensor/metagraph.py @@ -481,7 +481,7 @@ def _set_weights_and_bonds(self, subtensor: bittensor.subtensor = None): None. """ # TODO: Check and test the computation of weights and bonds - if self.netuid == 0: # Is this the root network? + if self.netuid == 0: self.weights = self._process_root_weights( [neuron.weights for neuron in self.neurons], "weights", subtensor )