Skip to content

Commit 9f011dc

Browse files
committed
Retry for incorect password
1 parent faa201d commit 9f011dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bittensor_cli/src/bittensor/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,7 @@ def unlock_key(
13791379
err_msg = f"The password used to decrypt your {unlock_type.capitalize()}key Keyfile is invalid."
13801380
if print_out:
13811381
err_console.print(f":cross_mark: [red]{err_msg}[/red]")
1382+
return unlock_key(wallet, unlock_type, print_out)
13821383
return UnlockStatus(False, err_msg)
13831384
except KeyFileError:
13841385
err_msg = f"{unlock_type.capitalize()}key Keyfile is corrupt, non-writable, or non-readable, or non-existent."

0 commit comments

Comments
 (0)