diff --git a/jormungandr/src/explorer/graphql/mod.rs b/jormungandr/src/explorer/graphql/mod.rs index 15b245fc58..89aa6b76cc 100644 --- a/jormungandr/src/explorer/graphql/mod.rs +++ b/jormungandr/src/explorer/graphql/mod.rs @@ -709,7 +709,7 @@ impl Status { } pub async fn latest_block(&self, context: &Context) -> FieldResult { - latest_block(context).await.map(|b| Block::from(b)) + latest_block(context).await.map(Block::from) } pub fn fee_settings(&self, context: &Context) -> FeeSettings {