Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion neurons/_validator/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from utils import wandb_logger
from _validator.config.api import ApiConfig
from utils.mp_dendrite import MultiprocessDendrite


class ValidatorConfig:
Expand Down Expand Up @@ -38,7 +39,7 @@ def __init__(self, config: bt.config):
self.bt_config.netuid if self.bt_config.netuid else DEFAULT_NETUID
)
self.wallet = bt.wallet(config=self.bt_config)
self.dendrite = bt.dendrite(wallet=self.wallet)
self.dendrite = MultiprocessDendrite(wallet=self.wallet)
self.subtensor = bt.subtensor(config=self.bt_config)
try:
self.metagraph = self.subtensor.metagraph(self.subnet_uid)
Expand Down
Loading
Loading