Skip to content

Commit

Permalink
fix my delegates
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Apr 20, 2023
1 parent 9cda4d9 commit ef32a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bittensor/_cli/commands/delegates.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ def run( cli ):
bittensor.Balance.from_rao(0) # default to 0 if no owner stake.
)
if delegate[0].hotkey_ss58 in registered_delegate_info:
delegate_name = registered_delegate_info[delegate[0].hotkey_ss58]['name']
delegate_url = registered_delegate_info[delegate[0].hotkey_ss58]['url']
delegate_description = registered_delegate_info[delegate[0].hotkey_ss58]['description']
delegate_name = registered_delegate_info[delegate[0].hotkey_ss58].name
delegate_url = registered_delegate_info[delegate[0].hotkey_ss58].url
delegate_description = registered_delegate_info[delegate[0].hotkey_ss58].description
else:
delegate_name = ''
delegate_url = ''
Expand Down

0 comments on commit ef32a4d

Please sign in to comment.