From a37a5f4af3bdad7f935e8f3e15e0ff3e4c899e11 Mon Sep 17 00:00:00 2001 From: Vladislav Polskikh Date: Fri, 4 Oct 2024 12:10:20 +0200 Subject: [PATCH] Fix validating deposit message root for json output data --- cmd/validator/depositdata/output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/validator/depositdata/output.go b/cmd/validator/depositdata/output.go index 69ba7e9..ba8f26f 100644 --- a/cmd/validator/depositdata/output.go +++ b/cmd/validator/depositdata/output.go @@ -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 {