make clap regardless of fail during applause

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky
2025-06-18 17:03:09 +03:00
parent 99c43a0c24
commit 6100e79ebf
3 changed files with 13 additions and 17 deletions

View File

@@ -565,7 +565,13 @@ impl<T: Config> Pallet<T> {
) > Perbill::from_percent(T::ApplauseThreshold::get());
if enough_authorities {
Self::try_applause(&clap, &received_claps_key)?;
if let Err(error_msg) = Self::try_applause(&clap, &received_claps_key) {
log::info!(
target: LOG_TARGET,
"👏 Could not applause because of: {:?}",
error_msg,
);
}
}
Ok(())