Skip to content

Commit

Permalink
fix latest block redundant closure
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Feb 4, 2021
1 parent cfde1fb commit 038a68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jormungandr/src/explorer/graphql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ impl Status {
}

pub async fn latest_block(&self, context: &Context) -> FieldResult<Block> {
latest_block(context).await.map(|b| Block::from(b))
latest_block(context).await.map(Block::from)
}

pub fn fee_settings(&self, context: &Context) -> FeeSettings {
Expand Down

0 comments on commit 038a68b

Please sign in to comment.