diff --git a/chain/src/pipe.rs b/chain/src/pipe.rs index 4249f53a..9b0892d3 100644 --- a/chain/src/pipe.rs +++ b/chain/src/pipe.rs @@ -130,7 +130,7 @@ pub fn sync_block_header( let _ = header_ctx.sumtrees.write().unwrap(); // now update the header_head (if new header with most work) and the sync_head (always) - update_header_head(bh, &mut header_ctx); + update_header_head(bh, &mut header_ctx)?; update_sync_head(bh, &mut sync_ctx) }