fix clippy (#1668)

This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent ea98118031
commit b99267764c
1 file changed
+1 -1
@@ -131,7 +131,7 @@ where
.await? .await?
.map(|para_info| para_info.best_head_hash); .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 let imported_para_head = self
.client .client
.storage_double_map_value::<ImportedParaHeadsKeyProvider>( .storage_double_map_value::<ImportedParaHeadsKeyProvider>(