aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/peer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/peer.rs')
-rw-r--r--src/state/peer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs
index a84e069..231f320 100644
--- a/src/state/peer.rs
+++ b/src/state/peer.rs
@@ -150,8 +150,8 @@ pub(crate) struct PeerState {
/// How many heads its most recent keepalive listed (None if it sent a digest).
pub(crate) reported_heads: Option<usize>,
/// The heads its most recent STATUS or STATUS_REPLY carried (an announcement's too),
- /// with its epoch: once they are ours, it has every change we would announce to it
- /// (`swarm::relay`).
+ /// or its latest sync message, with its epoch: what it said it has. Once those cover
+ /// ours, it has every change we would announce to it (`swarm::relay`).
pub(crate) last_heads: Option<(transport::Epoch, transport::HeadsSummary)>,
/// How long its sync messages took to come (`swarm::hop`).
pub(crate) hop_delays: crate::swarm::hop::HopDelays,