Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhaleking committed Nov 21, 2024
1 parent f0c8eab commit fcbe1af
Show file tree
Hide file tree
Showing 3 changed files with 9,154 additions and 8,101 deletions.
6 changes: 3 additions & 3 deletions bittensor/core/subtensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(
_mock: bool = False,
log_verbose: bool = False,
connection_timeout: int = 600,
websocket = None
websocket=None,
) -> None:
"""
Initializes a Subtensor interface for interacting with the Bittensor blockchain.
Expand Down Expand Up @@ -211,14 +211,14 @@ def _get_substrate(self):
ss58_format=settings.SS58_FORMAT,
use_remote_preset=True,
url=self.chain_endpoint,
type_registry=settings.TYPE_REGISTRY
type_registry=settings.TYPE_REGISTRY,
)
else:
self.substrate = SubstrateInterface(
ss58_format=settings.SS58_FORMAT,
use_remote_preset=True,
type_registry=settings.TYPE_REGISTRY,
websocket=self.websocket
websocket=self.websocket,
)
if self.log_verbose:
logging.debug(
Expand Down
Loading

0 comments on commit fcbe1af

Please sign in to comment.