File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
bittensor_cli/src/commands Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -438,11 +438,10 @@ async def wallet_create(
438
438
"name" : wallet .name ,
439
439
"path" : wallet .path ,
440
440
"hotkey" : wallet .hotkey_str ,
441
- "hotkey_ss58" : wallet .hotkey .ss58_address ,
442
441
"coldkey_ss58" : wallet .coldkeypub .ss58_address ,
443
442
}
444
- except KeyFileError :
445
- err = "KeyFileError: File is not writable"
443
+ except KeyFileError as error :
444
+ err = str ( error )
446
445
print_error (err )
447
446
output_dict ["error" ] = err
448
447
try :
@@ -458,10 +457,9 @@ async def wallet_create(
458
457
"path" : wallet .path ,
459
458
"hotkey" : wallet .hotkey_str ,
460
459
"hotkey_ss58" : wallet .hotkey .ss58_address ,
461
- "coldkey_ss58" : wallet .coldkeypub .ss58_address ,
462
460
}
463
- except KeyFileError :
464
- err = "KeyFileError: File is not writable"
461
+ except KeyFileError as error :
462
+ err = str ( error )
465
463
print_error (err )
466
464
output_dict ["error" ] = err
467
465
if json_output :
You can’t perform that action at this time.
0 commit comments