Skip to content

Commit

Permalink
Update beacon/validator/block_builder.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shota Ehrlich <[email protected]>
Signed-off-by: Cal Bera <[email protected]>
  • Loading branch information
calbera and shotes authored Dec 19, 2024
1 parent b7f0e3c commit 45821be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon/validator/block_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (s *Service[
var eth1Data *ctypes.Eth1Data
body.SetEth1Data(eth1Data.New(deposits.HashTreeRoot(), 0, common.ExecutionHash{}))

// Set the just the block deposits (after current index) on the block body.
// Set just the block deposits (after current index) on the block body.
if uint64(len(deposits)) < depositIndex {
return errors.Wrapf(ErrDepositStoreIncomplete,
"all historical deposits not available, expected: %d, got: %d",
Expand Down

0 comments on commit 45821be

Please sign in to comment.