Skip to content

Commit 34ea4d1

Browse files
committed
decode acc id
1 parent 059d8b4 commit 34ea4d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bittensor_cli/src/commands/wallets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,6 +2264,7 @@ async def check_swap_status(
22642264
chain_reported_completion_block, destination_address = await subtensor.query(
22652265
"SubtensorModule", "ColdkeySwapScheduled", [origin_ss58]
22662266
)
2267+
destination_address = decode_account_id(destination_address[0])
22672268
if chain_reported_completion_block != 0 and destination_address != GENESIS_ADDRESS:
22682269
is_pending = True
22692270
else:

0 commit comments

Comments
 (0)