Skip to content

Commit

Permalink
chore: cargo clipy --tests
Browse files Browse the repository at this point in the history
Signed-off-by: Naian <[email protected]>
  • Loading branch information
nain-F49FF806 committed Oct 19, 2023
1 parent 03053f3 commit 2b4cc37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agents/rust/mediator/tests/mediator-coord-protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ async fn gen_mediator_connected_agent() -> Result<(

/// Sends message over didcomm connection and returns unpacked response message
async fn send_message_and_pop_response_message(
message_bytes: &Vec<u8>,
message_bytes: &[u8],
agent: &Agent<impl BaseWallet + 'static, impl MediatorPersistence>,
aries_transport: &mut impl AriesTransport,
our_verikey: &VeriKey,
their_diddoc: &AriesDidDoc,
) -> Result<String> {
agent
.pack_and_send_didcomm(&message_bytes, &our_verikey, their_diddoc, aries_transport)
.pack_and_send_didcomm(message_bytes, our_verikey, their_diddoc, aries_transport)
.await
.map_err(|err| GenericStringError { msg: err })?;
// unpack
Expand Down

0 comments on commit 2b4cc37

Please sign in to comment.