Skip to content

Commit

Permalink
fix formatting error
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Jan 22, 2025
1 parent 54aa58c commit 684ca95
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mm2src/mm2_p2p/src/behaviours/atomicdex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ pub enum AdexBehaviourCmd {
///
/// Returns `false` if a dial attempt to the given address has already been made,
/// in which case the caller must skip the dial attempt.
fn check_and_mark_dialed(
recently_dialed_peers: &mut MutexGuard<TimedMap<Multiaddr, ()>>,
addr: &Multiaddr,
) -> bool {
fn check_and_mark_dialed(recently_dialed_peers: &mut MutexGuard<TimedMap<Multiaddr, ()>>, addr: &Multiaddr) -> bool {
if recently_dialed_peers.get(addr).is_some() {
info!("Connection attempt was already made recently to '{addr}'.");
return false;
Expand Down

0 comments on commit 684ca95

Please sign in to comment.