Skip to content

Commit

Permalink
ColumnAlignsWithBlock: Split lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalepae committed Oct 17, 2024
1 parent cbe26ae commit fe06732
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion beacon-chain/sync/verify/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ func ColumnAlignsWithBlock(col blocks.RODataColumn, block blocks.ROBlock, colVer
}

if !reflect.DeepEqual(commitments, col.KzgCommitments) {
return errors.Wrapf(ErrMismatchedColumnCommitments, "commitment %#v != block commitment %#v for block root %#x at slot %d ", col.KzgCommitments, commitments, block.Root(), col.Slot())
return errors.Wrapf(
ErrMismatchedColumnCommitments,
"commitment %#v != block commitment %#v for block root %#x at slot %d ",
col.KzgCommitments,
commitments,
block.Root(),
col.Slot(),
)
}

vf := colVerifier(col, verification.InitsyncColumnSidecarRequirements)
Expand Down

0 comments on commit fe06732

Please sign in to comment.