Skip to content

Commit

Permalink
networking: Refactor reserved_peers.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-gadelshin committed Jun 9, 2023
1 parent 5370d08 commit 44f5364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/subspace-networking/src/reserved_peers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ fn schedule_connection() -> Instant {
/// Defines the state of a reserved peer connection state.
#[derive(Debug, Clone)]
struct ReservedPeerState {
pub connection_status: ConnectionStatus,
pub peer_id: PeerId,
pub address: Multiaddr,
connection_status: ConnectionStatus,
peer_id: PeerId,
address: Multiaddr,
}

/// Reserved peer connection events.
Expand Down

0 comments on commit 44f5364

Please sign in to comment.