Skip to content

Commit

Permalink
change doc ref to register, wording tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ifrit98 committed Oct 26, 2023
1 parent 9595671 commit b868941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/running_a_validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ btcli wallet faucet --wallet.name validator --subtensor.network test
Register your UID on the test network:

```sh
btcli wallet recycle_register --subtensor.network test
btcli wallet register --subtensor.network test
```

## 5. Start the Process
Expand Down
4 changes: 2 additions & 2 deletions prompting/baseminer/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def run(self):
Initiates and manages the main loop for the miner on the Bittensor network.
This function performs the following primary tasks:
1. Optionally registers the miner's wallet with the network.
1. Check for registration on the Bittensor network.
2. Attaches the miner's forward, blacklist, and priority functions to its axon.
3. Starts the miner's axon, making it active on the network.
4. Regularly updates the metagraph with the latest network state.
Expand All @@ -48,7 +48,7 @@ def run(self):
KeyboardInterrupt: If the miner is stopped by a manual interruption.
Exception: For unforeseen errors during the miner's operation, which are logged for diagnosis.
"""
# --- Optionally register the wallet.
# --- Check for registration.
if not self.subtensor.is_hotkey_registered(
netuid=self.config.netuid,
hotkey=self.wallet.hotkey.ss58_address,
Expand Down

0 comments on commit b868941

Please sign in to comment.