Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin committed Feb 11, 2023
1 parent 8e1db2c commit faec2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ impl<B: BlockT + 'static, H: ExHashT> NetworkService<B, H> {

/// Get target sync block number.
pub fn best_seen_block(&self) -> Option<NumberFor<B>> {
self.best_seen_block.lock().clone()
*self.best_seen_block.lock()
}

/// Utility function to extract `PeerId` from each `Multiaddr` for peer set updates.
Expand Down

0 comments on commit faec2e9

Please sign in to comment.