@@ -113,7 +113,7 @@ static bool selected_peer(struct seeker *seeker, struct peer *peer)
113
113
114
114
/* Give it some grace in case we immediately hit timer */
115
115
seeker -> prev_gossip_count
116
- = peer -> gossip_counter - GOSSIP_SEEKER_INTERVAL (seeker );
116
+ = peer -> query_reply_counter - GOSSIP_SEEKER_INTERVAL (seeker );
117
117
return true;
118
118
}
119
119
@@ -197,9 +197,9 @@ static bool peer_made_progress(struct seeker *seeker, const struct peer *peer)
197
197
/* Has it made progress (at least one valid update per second)? If
198
198
* not, we assume it's finished, and if it hasn't, we'll end up
199
199
* querying backwards in next steps. */
200
- if (peer -> gossip_counter
200
+ if (peer -> query_reply_counter
201
201
>= seeker -> prev_gossip_count + GOSSIP_SEEKER_INTERVAL (seeker )) {
202
- seeker -> prev_gossip_count = peer -> gossip_counter ;
202
+ seeker -> prev_gossip_count = peer -> query_reply_counter ;
203
203
return true;
204
204
}
205
205
@@ -867,7 +867,7 @@ static void check_probe(struct seeker *seeker,
867
867
868
868
status_peer_debug (& peer -> id ,
869
869
"has only moved gossip %zu->%zu for probe, giving up on it" ,
870
- seeker -> prev_gossip_count , peer -> gossip_counter );
870
+ seeker -> prev_gossip_count , peer -> query_reply_counter );
871
871
seeker -> random_peer = NULL ;
872
872
restart (seeker );
873
873
}
0 commit comments