Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
msgmaxim committed Nov 1, 2023
1 parent 9eb0e64 commit 335eb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/p2p/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ impl P2PContext {
state.last_activity.get().elapsed() > MAX_INACTIVITY_THRESHOLD
{
debug!("Peer connection is deemed stale due to inactivity: {}", account_id);
self.reconnect_context.reset(&account_id);
self.reconnect_context.reset(account_id);
// ZMQ socket is dropped here
state.state = ConnectionState::Stale;
}
Expand Down

0 comments on commit 335eb13

Please sign in to comment.