Skip to content

Commit fa2b9a8

Browse files
committed
Removes ownership check in stake_move
1 parent 2983257 commit fa2b9a8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

bittensor/core/extrinsics/move_stake.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,6 @@ def move_stake_extrinsic(
289289
"""
290290

291291
amount.set_unit(netuid=origin_netuid)
292-
# Verify ownership of origin hotkey
293-
origin_owner = subtensor.get_hotkey_owner(origin_hotkey)
294-
if origin_owner != wallet.coldkeypub.ss58_address:
295-
logging.error(
296-
f":cross_mark: [red]Failed[/red]: Origin hotkey: {origin_hotkey} does not belong to the coldkey owner: {wallet.coldkeypub.ss58_address}"
297-
)
298-
return False
299292

300293
# Check sufficient stake
301294
stake_in_origin, stake_in_destination = _get_stake_in_origin_and_dest(

0 commit comments

Comments
 (0)