Skip to content

Commit

Permalink
fix clone copy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Jan 11, 2021
1 parent 48ff2db commit 8f363c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jormungandr/src/explorer/mod.rs
Expand Up @@ -815,6 +815,6 @@ impl Tip {
}

async fn get_block_id(&self) -> HeaderHash {
self.0.read().await.clone()
*self.0.read().await
}
}

0 comments on commit 8f363c6

Please sign in to comment.