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.
1 parent 0184cf8 commit 405c09bCopy full SHA for 405c09b
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