Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion leo/cli/commands/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ fn import_account<N: Network>(
Some(private_key) => FromStr::from_str(&private_key).map_err(CliError::failed_to_parse_private_key)?,
None => {
return Err(CliError::failed_to_execute_account(
"PRIVATE_KEY shouldn't be empty when --discreet is false",
"Missing private key argument. Provide a private key or use the '--discreet' flag to enter it securely.",
)
.into());
}
Expand Down