chore: reformat code to comply with CI
Missed formatting in file, run cargo fmt to solve it
@@ -200,8 +200,11 @@ impl<T: Config> Optimistic<T> {
// First unlock honest executor and the reward to honest executors
// since the reserved bond was slashed and should always suffice.
- let checked_reward = if let Some(insurance_plus_bond) = insurance.checked_add(&reserved_bond) {
- if let Some(insurance_plus_bond_plus_bid) = insurance_plus_bond.checked_add(&sfx_bid.bid) {
+ let checked_reward =
+ if let Some(insurance_plus_bond) = insurance.checked_add(&reserved_bond) {
+ if let Some(insurance_plus_bond_plus_bid) =
+ insurance_plus_bond.checked_add(&sfx_bid.bid)
+ {
insurance_plus_bond_plus_bid
} else {
log::error!("Could not compute honest reward");
