Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed Oct 2, 2024
1 parent 4d9f1f3 commit 71a6767
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/stages/stages/src/stages/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,12 @@ where
self.hash_collector.insert(header.hash(), header_number)?;
self.header_collector.insert(
header_number,
Bytes::from(bincode::serialize(&serde_bincode_compat::SealedHeader::from(&header))
.map_err(|err| StageError::Fatal(Box::new(err)))?),
Bytes::from(
bincode::serialize(&serde_bincode_compat::SealedHeader::from(
&header,
))
.map_err(|err| StageError::Fatal(Box::new(err)))?,
),
)?;

// Headers are downloaded in reverse, so if we reach here, we know we have
Expand Down

0 comments on commit 71a6767

Please sign in to comment.