Skip to content

Commit 9e4ce58

Browse files
committed
Remove ownership check from move_stake for async
1 parent fa2b9a8 commit 9e4ce58

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

bittensor/core/extrinsics/asyncex/move_stake.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,6 @@ async def move_stake_extrinsic(
290290
bool: True if the move was successful, False otherwise.
291291
"""
292292
amount.set_unit(netuid=origin_netuid)
293-
# Verify ownership of origin hotkey
294-
origin_owner = await subtensor.get_hotkey_owner(origin_hotkey)
295-
if origin_owner != wallet.coldkeypub.ss58_address:
296-
logging.error(
297-
f":cross_mark: [red]Failed[/red]: Origin hotkey: {origin_hotkey} does not belong to the coldkey owner: "
298-
f"{wallet.coldkeypub.ss58_address}"
299-
)
300-
return False
301293

302294
# Check sufficient stake
303295
stake_in_origin, stake_in_destination = await _get_stake_in_origin_and_dest(

0 commit comments

Comments
 (0)