File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3234,10 +3234,8 @@ def stake_remove(
32343234 "Enter the [blue]hotkey[/blue] name or [blue]ss58 address[/blue] to unstake all from [dim](or enter 'all' to unstake from all hotkeys)[/dim]" ,
32353235 default = self .config .get ("wallet_hotkey" ) or defaults .wallet .hotkey ,
32363236 )
3237- elif hotkey_ss58_address :
3238- hotkey_or_ss58 = hotkey_ss58_address
32393237 else :
3240- hotkey_or_ss58 = wallet_hotkey
3238+ hotkey_or_ss58 = hotkey_ss58_address or wallet_hotkey
32413239
32423240 if is_valid_ss58_address (hotkey_or_ss58 ):
32433241 hotkey_ss58_address = hotkey_or_ss58
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def test_unstaking(local_chain, wallet_setup):
9797 )
9898 assert "✅ Registered subnetwork with netuid: 3" in result .stdout
9999
100- # Register Bob in both subnets
100+ # Register Bob in one subnet
101101 register_result = exec_command_bob (
102102 command = "subnets" ,
103103 sub_command = "register" ,
You can’t perform that action at this time.
0 commit comments