From 20c2ce6281cad9f6d891b681fafc2bfb14d9c3ab Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:56:57 -0700 Subject: [PATCH] Clone sender index --- openmls/src/group/core_group/new_from_welcome.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openmls/src/group/core_group/new_from_welcome.rs b/openmls/src/group/core_group/new_from_welcome.rs index 0e6a63797..e067353b1 100644 --- a/openmls/src/group/core_group/new_from_welcome.rs +++ b/openmls/src/group/core_group/new_from_welcome.rs @@ -51,8 +51,9 @@ impl StagedCoreWelcome { let start_time = std::time::Instant::now(); let sender_index = self.welcome_sender_index(); log::info!( - "Getting to sender index took {}ms", - start_time.elapsed().as_millis() + "Getting to sender index took {}ms. Sender index is {}", + start_time.elapsed().as_millis(), + sender_index.clone() ); let val = self .public_group