File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1077,15 +1077,15 @@ def initialize_chain(
1077
1077
f"[{ COLORS .G .ARG } ]{ ', ' .join (not_selected_networks )} [/{ COLORS .G .ARG } ]"
1078
1078
)
1079
1079
1080
- self .subtensor = network_
1080
+ self .subtensor = SubtensorInterface ( network_ )
1081
1081
elif self .config ["network" ]:
1082
1082
console .print (
1083
1083
f"Using the specified network [{ COLORS .G .LINKS } ]{ self .config ['network' ]} "
1084
1084
f"[/{ COLORS .G .LINKS } ] from config"
1085
1085
)
1086
- self .subtensor = self .config ["network" ]
1086
+ self .subtensor = SubtensorInterface ( self .config ["network" ])
1087
1087
else :
1088
- self .subtensor = defaults .subtensor .network
1088
+ self .subtensor = SubtensorInterface ( defaults .subtensor .network )
1089
1089
return self .subtensor
1090
1090
1091
1091
def _run_command (self , cmd : Coroutine , exit_early : bool = True ):
You can’t perform that action at this time.
0 commit comments