Skip to content

Commit 1543b08

Browse files
committed
cleanup
1 parent 8fbd9b8 commit 1543b08

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ledger/src/blockstore.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4161,15 +4161,14 @@ impl Blockstore {
41614161
.and_then(|payload| {
41624162
// TODO(karthik): if Alpenglow flag is disabled, return an error on special
41634163
// EntryBatches.
4164-
let components = BlockComponent::from_bytes_multiple(&payload).map_err(
4165-
|e| {
4164+
let components =
4165+
BlockComponent::from_bytes_multiple(&payload).map_err(|e| {
41664166
BlockstoreError::InvalidShredData(Box::new(
41674167
bincode::ErrorKind::Custom(format!(
41684168
"could not reconstruct block components: {e:?}"
41694169
)),
41704170
))
4171-
},
4172-
)?;
4171+
})?;
41734172
transform(components).map_err(|e| {
41744173
BlockstoreError::InvalidShredData(Box::new(bincode::ErrorKind::Custom(
41754174
format!("could not transform block components: {e:?}"),

0 commit comments

Comments
 (0)