Skip to content

Commit

Permalink
Keep validation activities on a call error
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Nov 25, 2024
1 parent 7c239ab commit defa733
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pallets/ddc-verification/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1215,10 +1215,12 @@ pub mod pallet {
Ok(_) => {
// Extrinsic call succeeded
log::info!(
"🏭📝Sent end_billing_report successfully for cluster_id: {:?}, era_id: {:?}",
cluster_id,
era_id
);
"🏭📝Sent end_billing_report successfully for cluster_id: {:?}, era_id: {:?}",
cluster_id,
era_id
);

Self::clear_validation_activities(&cluster_id, era_id);
},
Err(e) => {
log::error!(
Expand All @@ -1238,8 +1240,6 @@ pub mod pallet {
log::error!("🏭❌No account available to sign the transaction");
errors.push(OCWError::NoAvailableSigner);
}

Self::clear_validation_activities(&cluster_id, era_id);
},
Ok(None) => {
log::info!(
Expand Down

0 comments on commit defa733

Please sign in to comment.