fix clippy (#1668)

This commit is contained in:
Svyatoslav Nikolsky
2022-11-29 15:23:48 +03:00
committed by Bastian Köcher
parent ea98118031
commit b99267764c
@@ -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>(