From 9d02b01bda2c67c97951563c8e04d6c5cf3105bf Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:46:05 -0500 Subject: [PATCH] Clippy --- cmd/soroban-cli/src/config/address.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/config/address.rs b/cmd/soroban-cli/src/config/address.rs index b75b89fe2..ff926b60a 100644 --- a/cmd/soroban-cli/src/config/address.rs +++ b/cmd/soroban-cli/src/config/address.rs @@ -62,7 +62,9 @@ impl Address { pub fn resolve_secret(&self, locator: &locator::Args) -> Result { 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)?)) + } } } }