chore: fmt mfv
@@ -160,7 +160,11 @@ pub mod pallet {
<Error<T, I>>::TooManyRequests
);
- log::debug!("Going to try and finalize header {:?} gateway {:?}", finality_target, gateway_id);
+ log::debug!(
+ "Going to try and finalize header {:?} gateway {:?}",
+ finality_target,
+ gateway_id
+ );
let (hash, number) = (finality_target.hash(), finality_target.number());
@@ -169,7 +173,7 @@ pub mod pallet {
<BestFinalizedMap<T, I>>::get(gateway_id)
// Every time `BestFinalized` is updated `ImportedHeaders` is also updated. Therefore
// `ImportedHeaders` must contain an entry for `BestFinalized`.
- .ok_or_else(|| <Error<T, I>>::NoFinalizedHeader)?
+ .ok_or_else(|| <Error<T, I>>::NoFinalizedHeader)?,
)
// In order to reach this point the bridge must have been initialized for given gateway.
.ok_or_else(|| <Error<T, I>>::InvalidAnchorHeader)?;
@@ -592,7 +596,7 @@ pub mod pallet {
// Submitted anchor header(verified header stored on circuit) was not found
InvalidAnchorHeader,
// No finalized header known for the corresponding gateway.
- NoFinalizedHeader
+ NoFinalizedHeader,
}
/// Check the given header for a GRANDPA scheduled authority set change. If a change
