Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Oct 24, 2024
1 parent 9c9387e commit 63c2c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subcoin-network/src/peer_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ where
}

pub(crate) fn evict(&mut self, peer_id: PeerId, reason: Error) {
self.peer_manager.disconnect(peer_id, reason);
self.disconnect(peer_id, reason);
self.last_eviction = Instant::now();
}

Expand Down

0 comments on commit 63c2c0f

Please sign in to comment.