Skip to content

Commit

Permalink
Merge pull request #147 from polskikh/fix-validate-deposit-data-json
Browse files Browse the repository at this point in the history
Fix validating deposit message root for json output data
  • Loading branch information
mcdee authored Oct 4, 2024
2 parents 47cf033 + a37a5f4 commit 68ca31e
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 68ca31e

Please sign in to comment.