Skip to content

Commit

Permalink
Fix validating deposit message root for json output data
Browse files Browse the repository at this point in the history
  • Loading branch information
polskikh committed Oct 4, 2024
1 parent 47cf033 commit a37a5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/validator/depositdata/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func validatorDepositDataOutputJSON(datum *dataOut) (string, error) {
if datum.depositDataRoot == nil {
return "", errors.New("deposit data root required")
}
if datum.depositDataRoot == nil {
if datum.depositMessageRoot == nil {
return "", errors.New("deposit message root required")
}
if datum.forkVersion == nil {
Expand Down

0 comments on commit a37a5f4

Please sign in to comment.