We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e0385e + 405c09b commit 616b2e6Copy full SHA for 616b2e6
crates/subspace-farmer/src/node_client/caching_proxy_node_client.rs
@@ -119,7 +119,9 @@ impl SegmentHeaders {
119
120
/// Write the sync results to the cache, and reset the sync rate-limit timer.
121
fn write_cache(&mut self, extra_segment_headers: Vec<SegmentHeader>) {
122
- self.segment_headers.extend(extra_segment_headers);
+ for segment_header in extra_segment_headers {
123
+ self.push(segment_header);
124
+ }
125
self.last_synced.replace(Instant::now());
126
}
127
0 commit comments