Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
Signed-off-by: James Ebert <[email protected]>
  • Loading branch information
JamesKEbert committed Dec 11, 2024
1 parent c6049a0 commit 9aba204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aries/aries_vcx/src/utils/encryption_envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl EncryptionEnvelope {
.map(|routing_key| Key::from_base58(routing_key, KeyType::Ed25519))
.collect::<Result<Vec<_>, _>>()?;
let sender_key = sender_vk
.map(|key| Key::from_base58(&key, KeyType::Ed25519))
.map(|key| Key::from_base58(key, KeyType::Ed25519))
.transpose()?;
Self::create_from_keys(wallet, data, sender_key, recipient_key, routing_keys).await
}
Expand Down
2 changes: 1 addition & 1 deletion aries/misc/test_utils/src/devsetup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub async fn dev_build_featured_wallet(key_seed: &str) -> (String, impl BaseWall
{
use crate::{constants::INSTITUTION_DID, mock_wallet::MockWallet};

return (INSTITUTION_DID.to_owned(), MockWallet);
(INSTITUTION_DID.to_owned(), MockWallet)
}
}

Expand Down

0 comments on commit 9aba204

Please sign in to comment.