Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 990b8b4

Browse files
committed
cargo fmt
1 parent 931f57d commit 990b8b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runtime/parachains/src/disputes.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ where
130130
(None, Some(_)) => Ordering::Greater,
131131
(Some(_), None) => Ordering::Less,
132132
// For local disputes, prioritize those that occur at an earlier height.
133-
(Some(a_height), Some(b_height)) => {
134-
a_height.cmp(&b_height).then_with(|| a.candidate_hash.cmp(&b.candidate_hash))
135-
},
133+
(Some(a_height), Some(b_height)) =>
134+
a_height.cmp(&b_height).then_with(|| a.candidate_hash.cmp(&b.candidate_hash)),
136135
// Prioritize earlier remote disputes using session as rough proxy.
137136
(None, None) => {
138137
let session_ord = a.session.cmp(&b.session);

0 commit comments

Comments
 (0)