mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
fix: Check if already committed in commit (#568)
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
This commit is contained in:
@@ -332,6 +332,9 @@ impl MpcTlsLeader {
|
||||
|
||||
#[instrument(level = "debug", skip_all, err)]
|
||||
async fn commit(&mut self) -> Result<(), MpcTlsError> {
|
||||
if self.committed {
|
||||
return Ok(());
|
||||
}
|
||||
self.state.try_as_active()?;
|
||||
|
||||
debug!("committing to transcript");
|
||||
|
||||
Reference in New Issue
Block a user