Skip to content

Commit 7e586d9

Browse files
authored
Merge pull request opentensor#714 from opentensor/fix/single-swap-check
Fix: Decode account id in `btcli swap-check`
2 parents a1143a0 + 34ea4d1 commit 7e586d9

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)