Skip to content

Commit

Permalink
update organic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
acer-king committed Oct 14, 2024
1 parent eb8f8c2 commit a8e9f05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions organic.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ async def handle_response(resp):

async def main():
print("synching metagraph, this takes way too long.........")
subtensor = bt.subtensor(network="test")
meta = subtensor.metagraph(netuid=196)
subtensor = bt.subtensor(network="finney")
meta = subtensor.metagraph(netuid=18)
print("metagraph synched!")

# This needs to be your validator wallet that is running your subnet 18 validator
wallet = bt.wallet(name="miner", hotkey="default")
wallet = bt.wallet(name="default", hotkey="default")
dendrite = CortexDendrite(wallet=wallet)
vali_uid = meta.hotkeys.index(wallet.hotkey.ss58_address)
axon_to_use = meta.axons[vali_uid]
Expand Down

0 comments on commit a8e9f05

Please sign in to comment.