File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -5817,13 +5817,26 @@ def subnets_set_symbol(
5817
5817
[green]$[/green] btcli subnets set-symbol --netuid 1 ‡
5818
5818
"""
5819
5819
self .verbosity_handler (quiet , verbose , json_output )
5820
+ if len (symbol ) > 1 :
5821
+ err_console .print ("Your symbol must be a single character." )
5822
+ return False
5820
5823
wallet = self .wallet_ask (
5821
5824
wallet_name ,
5822
5825
wallet_path ,
5823
5826
wallet_hotkey ,
5824
5827
ask_for = [WO .NAME , WO .HOTKEY ],
5825
5828
validate = WV .WALLET_AND_HOTKEY ,
5826
5829
)
5830
+ return self ._run_command (
5831
+ subnets .set_symbol (
5832
+ wallet = wallet ,
5833
+ subtensor = self .initialize_chain (network ),
5834
+ netuid = netuid ,
5835
+ symbol = symbol ,
5836
+ prompt = prompt ,
5837
+ json_output = json_output ,
5838
+ )
5839
+ )
5827
5840
5828
5841
def weights_reveal (
5829
5842
self ,
You can’t perform that action at this time.
0 commit comments