Skip to content

Commit b8719d8

Browse files
authored
Merge pull request #610 from opentensor/release/9.10.2
Release/9.10.2
2 parents d037620 + 8b47647 commit b8719d8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 9.10.2 /2025-09-05
4+
* Fixes swap-hotkey in by @ibraheem-abe in https://github.com/opentensor/btcli/commit/aec630ec06fb679957c1c2940f37a28751fd427f
5+
6+
**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.10.1...v9.10.2
7+
38
## 9.10.1 /2025-08-12
49
* Removes double param for `--cache` in `config set` by @thewhaleking in https://github.com/opentensor/btcli/pull/579
510
* change root only sudo hyperparams by @thewhaleking in https://github.com/opentensor/btcli/pull/580

bittensor_cli/src/bittensor/extrinsics/registration.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,11 +1757,13 @@ async def swap_hotkey_extrinsic(
17571757
"""
17581758
block_hash = await subtensor.substrate.get_chain_head()
17591759
hk_ss58 = get_hotkey_pub_ss58(wallet)
1760+
new_hk_ss58 = get_hotkey_pub_ss58(new_wallet)
1761+
17601762
netuids_registered = await subtensor.get_netuids_for_hotkey(
17611763
hk_ss58, block_hash=block_hash
17621764
)
17631765
netuids_registered_new_hotkey = await subtensor.get_netuids_for_hotkey(
1764-
hk_ss58, block_hash=block_hash
1766+
new_hk_ss58, block_hash=block_hash
17651767
)
17661768

17671769
if netuid is not None and netuid not in netuids_registered:
@@ -1777,7 +1779,6 @@ async def swap_hotkey_extrinsic(
17771779
)
17781780
return False
17791781

1780-
new_hk_ss58 = get_hotkey_pub_ss58(new_wallet)
17811782
if netuid is not None:
17821783
if netuid in netuids_registered_new_hotkey:
17831784
err_console.print(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bittensor-cli"
7-
version = "9.10.1"
7+
version = "9.10.2"
88
description = "Bittensor CLI"
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)