Skip to content

Commit 33ab9df

Browse files
author
acer-king
committed
upgrade-version miner issue fixed
1 parent 609d2a9 commit 33ab9df

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cortext/axon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import bittensor
22
import bittensor as bt
33
from substrateinterface import Keypair
4-
from bittensor.errors import SynapseDendriteNoneException
4+
from bittensor.core.errors import SynapseDendriteNoneException
55

66

77
class CortexAxon(bt.axon):

miner/config.py

-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ def get_config() -> (bt.config, Config):
171171
# Activating the parser to read any command-line inputs.
172172
# To print help message, run python3 template/miner.py --help
173173
bt_config = bt.config(parser)
174-
bt.configs.append(bt_config)
175-
bt_config = bt.config.merge_all(bt.configs)
176174

177175
# Logging captures events for diagnosis or understanding miner's behavior.
178176
full_path = Path(f"{bt_config.logging.logging_dir}/{bt_config.wallet.name}/{bt_config.wallet.hotkey}"

0 commit comments

Comments
 (0)