summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/state.rs b/src/state.rs
index 542cadb..64fa8ea 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -96,10 +96,6 @@ pub(crate) struct PeerState {
pub(crate) standing: Standing,
pub(crate) hello_state: HelloState,
- /// The peer sent HELLO; we still owe it a HELLO_REPLY (e.g. we had no swarm ID yet,
- /// or sending failed).
- pub(crate) reply_owed: bool,
-
/// Everything about the current Automerge sync with this peer; a reset replaces it.
pub(crate) sync: SyncSession,
@@ -318,7 +314,6 @@ impl PeerState {
leads,
standing: Standing::default(),
hello_state: HelloState::default(),
- reply_owed: false,
sync: SyncSession::new(leads, SessionCause::NewPeer),
liveness: Liveness::Active,
added_at: Instant::now(),