diff --git a/nym-api/src/coconut/dkg/controller.rs b/nym-api/src/coconut/dkg/controller.rs index 6ae32cfad5..063b40740f 100644 --- a/nym-api/src/coconut/dkg/controller.rs +++ b/nym-api/src/coconut/dkg/controller.rs @@ -99,7 +99,7 @@ impl DkgController { return; } if let Err(err) = self.state.is_consistent(epoch.state).await { - error!("Epoch state is corrupted - {err}, the process should be terminated"); + debug!("Epoch state is corrupted - {err}. Awaiting for a DKG restart."); return; } let ret = match epoch.state { diff --git a/nym-api/src/coconut/dkg/state.rs b/nym-api/src/coconut/dkg/state.rs index 6277eb6ccf..b50c60239c 100644 --- a/nym-api/src/coconut/dkg/state.rs +++ b/nym-api/src/coconut/dkg/state.rs @@ -133,7 +133,7 @@ impl ConsistentState for State { fn proposal_id_value(&self) -> Result { self.proposal_id.ok_or(CoconutError::UnrecoverableState { - reason: String::from("Proposal id should have benn set"), + reason: String::from("Proposal id should have been set"), }) } } diff --git a/nym-api/src/coconut/error.rs b/nym-api/src/coconut/error.rs index 20a3c919dc..06f910c7cc 100644 --- a/nym-api/src/coconut/error.rs +++ b/nym-api/src/coconut/error.rs @@ -91,7 +91,7 @@ pub enum CoconutError { #[error("Failed to recover assigned node index: {reason}")] NodeIndexRecoveryError { reason: String }, - #[error("Unrecoverable state: {reason}. Process should be restarted")] + #[error("Unrecoverable state: {reason}")] UnrecoverableState { reason: String }, #[error("DKG has not finished yet in order to derive the coconut key")]