Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Feb 12, 2024
1 parent be7d7f4 commit a0d5a5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions xps-gateway/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ async fn test_send_message() -> Result<(), Error> {
.await?;

let message = Message {
conversation_id: conversation_id,
payload: payload,
conversation_id,
payload,
identity: me.address(),
signature: signature,
signature,
};

let pre_nonce = context.conversation.nonce(me.address()).call().await?;
Expand Down Expand Up @@ -87,10 +87,10 @@ async fn test_send_message_fail() -> Result<(), Error> {
.await?;

let message = Message {
conversation_id: conversation_id,
payload: payload,
conversation_id,
payload,
identity: me.address(),
signature: signature,
signature,
};

let pre_nonce = context.conversation.nonce(me.address()).call().await?;
Expand Down
4 changes: 2 additions & 2 deletions xps-gateway/tests/integration_util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ where

async fn deploy_to_anvil(anvil: &AnvilInstance) -> (Address, Address) {
let wallet: LocalWallet = anvil.keys()[0].clone().into();
let client = client(&anvil, wallet).await;
let client = client(anvil, wallet).await;

let registry = DIDRegistry::deploy(client.clone(), ())
.unwrap()
Expand Down Expand Up @@ -144,7 +144,7 @@ pub async fn get_user(
index: usize,
) -> Arc<SignerMiddleware<Provider<Ws>, LocalWallet>> {
let wallet: LocalWallet = anvil.keys()[index].clone().into();
client(&anvil, wallet).await
client(anvil, wallet).await
}

static INIT: Once = Once::new();
Expand Down

0 comments on commit a0d5a5c

Please sign in to comment.