Skip to content

Commit

Permalink
Update cmd/soroban-cli/src/config/locator.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com>
  • Loading branch information
willemneal and elizabethengelman authored Dec 13, 2024
1 parent 732e7f4 commit d4ba93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/config/locator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Args {
self.write_key(name, &public_key.into())
}

pub fn write_key(&self, name: &str, public_key: &Key) -> Result<(), Error> {
pub fn write_key(&self, name: &str, key: &Key) -> Result<(), Error> {
KeyType::Identity.write(name, public_key, &self.config_dir()?)
}

Expand Down

0 comments on commit d4ba93d

Please sign in to comment.