mirror of
https://github.com/mimblewimble/grin.git
synced 2025-05-09 10:41:17 +03:00
one liner, clean up unused warning use "?" for updating head (#464)
This commit is contained in:
parent
a4729b51ac
commit
1e796642c4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue