Ensure cumulus/bridges is ignored by formatter and run it (#1369)

This commit is contained in:
Gavin Wood
2023-09-03 15:11:26 +02:00
committed by GitHub
parent 2c3e869c38
commit bc6fca3c44
7 changed files with 20 additions and 18 deletions
@@ -334,10 +334,10 @@ impl<T: Config> Pallet<T> {
contribution.length.saturating_dec();
let Some(mut pool_record) = InstaPoolHistory::<T>::get(r) else {
continue;
continue
};
let Some(total_payout) = pool_record.maybe_payout else {
break;
break
};
let p = total_payout
.saturating_mul(contributed_parts.into())