Skip to content

Commit

Permalink
only port is needed here
Browse files Browse the repository at this point in the history
  • Loading branch information
surcyf123 authored Oct 1, 2024
1 parent fff6634 commit 5a3dc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def dummy(self, synapse: Dummy) -> Dummy:

def setup_axon(self):
# Build and link miner functions to the axon.
self.axon = bt.axon(wallet=self.wallet, config=self.config)
self.axon = bt.axon(wallet=self.wallet, port=self.config.axon.port)

# Attach functions to the axon.
bt.logging.info(f"Attaching forward function to axon.")
Expand Down

0 comments on commit 5a3dc11

Please sign in to comment.