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 1518006 commit 9232964
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 @@ -713,7 +713,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 async fn epoch_stability_depth(&self, context: &Context) -> String {
Expand Down

0 comments on commit 9232964

Please sign in to comment.