Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Dec 3, 2024
1 parent 15976d8 commit 651340f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/soroban-cli/src/config/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ impl Address {
pub fn resolve_secret(&self, locator: &locator::Args) -> Result<secret::Secret, Error> {
match &self {
Address::AliasOrSecret(alias) => Ok(locator.read_identity(alias)?),
a => Err(Error::CannotSign(a.resolve_muxed_account(locator, None)?)),
a @ Address::MuxedAccount(_) => {
Err(Error::CannotSign(a.resolve_muxed_account(locator, None)?))
}
}
}
}
Expand Down

0 comments on commit 651340f

Please sign in to comment.