File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -732,13 +732,6 @@ async def move_stake(
732732 if isinstance (amount , (float , int )):
733733 amount = Balance .from_tao (amount )
734734
735- origin_owner = await self .get_hotkey_owner (origin_hotkey )
736- if origin_owner != wallet .coldkeypub .ss58_address :
737- logging .error (
738- f":cross_mark: [red]Failed[/red]: Origin hotkey: { origin_hotkey } does not belong to the coldkey owner: { wallet .coldkeypub .ss58_address } "
739- )
740- return False
741-
742735 stake_in_origin = await self .get_stake (
743736 hotkey_ss58 = origin_hotkey ,
744737 coldkey_ss58 = wallet .coldkeypub .ss58_address ,
Original file line number Diff line number Diff line change @@ -2843,13 +2843,6 @@ def move_stake(
28432843 if isinstance (amount , (float , int )):
28442844 amount = Balance .from_tao (amount )
28452845
2846- origin_owner = self .get_hotkey_owner (origin_hotkey )
2847- if origin_owner != wallet .coldkeypub .ss58_address :
2848- logging .error (
2849- f":cross_mark: [red]Failed[/red]: Origin hotkey: { origin_hotkey } does not belong to the coldkey owner: { wallet .coldkeypub .ss58_address } "
2850- )
2851- return False
2852-
28532846 stake_in_origin = self .get_stake (
28542847 hotkey_ss58 = origin_hotkey ,
28552848 coldkey_ss58 = wallet .coldkeypub .ss58_address ,
You can’t perform that action at this time.
0 commit comments