We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093c500 commit b98e5e0Copy full SHA for b98e5e0
chain/src/pipe.rs
@@ -219,14 +219,7 @@ pub fn sync_block_headers(
219
txhashset::header_extending(&mut ctx.header_pmmr, &mut ctx.batch, |ext, batch| {
220
rewind_and_apply_header_fork(&last_header, ext, batch)?;
221
Ok(())
222
- })?;
223
-
224
- let header_head = ctx.batch.header_head()?;
225
- if has_more_work(last_header, &header_head) {
226
- update_header_head(&Tip::from_header(last_header), &mut ctx.batch)?;
227
- }
228
229
- Ok(())
+ })
230
}
231
232
/// Process a block header. Update the header MMR and corresponding header_head if this header
0 commit comments