Skip to content

Commit

Permalink
fix clippy (paritytech#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored Nov 29, 2022
1 parent df3f9d2 commit 0b17765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relays/lib-substrate-relay/src/parachains/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ where
.await?
.map(|para_info| para_info.best_head_hash);

if let (Some(metrics), &Some(ref best_para_head_hash)) = (metrics, &best_para_head_hash) {
if let (Some(metrics), Some(best_para_head_hash)) = (metrics, &best_para_head_hash) {
let imported_para_head = self
.client
.storage_double_map_value::<ImportedParaHeadsKeyProvider>(
Expand Down

0 comments on commit 0b17765

Please sign in to comment.