From fb5fba3db1ed88ad72b34d189fe740a390b1c91c Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Wed, 7 Aug 2024 16:27:50 -0700 Subject: [PATCH] added logging for epoch debugging --- openmls/src/group/public_group/validation.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openmls/src/group/public_group/validation.rs b/openmls/src/group/public_group/validation.rs index b7969e0f42..2746e600fb 100644 --- a/openmls/src/group/public_group/validation.rs +++ b/openmls/src/group/public_group/validation.rs @@ -54,12 +54,14 @@ impl PublicGroup { message.epoch(), self.group_context().epoch() ); + println!("message.epoch() {} > {} self.group_context().epoch()", message.epoch(), self.group_context().epoch()); return Err(ValidationError::WrongEpoch); } } // For all other messages we only only accept the current epoch _ => { if message.epoch() != self.group_context().epoch() { + println!("message.epoch() {} != {} self.group_context().epoch()", message.epoch(), self.group_context().epoch()); log::error!( "Wrong Epoch: message.epoch() {} != {} self.group_context().epoch()", message.epoch(),