Skip to content

Commit

Permalink
Print KeyName string instead of struct (#1866)
Browse files Browse the repository at this point in the history
Co-authored-by: Nando Vieira <me@fnando.com>
  • Loading branch information
elizabethengelman and fnando authored Feb 6, 2025
1 parent e2c3268 commit 663e8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/keys/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl Cmd {

let path = self.config_locator.write_key(&self.name, &key)?;

print.checkln(format!("Key saved with alias {:?} in {path:?}", self.name));
print.checkln(format!("Key saved with alias {} in {path:?}", self.name));

Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/keys/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Cmd {
}
let secret = self.secret(&print)?;
let path = self.config_locator.write_identity(&self.name, &secret)?;
print.checkln(format!("Key saved with alias {:?} in {path:?}", self.name));
print.checkln(format!("Key saved with alias {} in {path:?}", self.name));

if !self.no_fund {
let addr = secret.public_key(self.hd_path)?;
Expand Down

0 comments on commit 663e8e0

Please sign in to comment.