From a1c89440ef5ec7fee01a4d36ab05392e7f3fc4ba Mon Sep 17 00:00:00 2001 From: James He Date: Tue, 23 Aug 2022 22:06:44 -0500 Subject: [PATCH] pointer issue --- beacon-chain/rpc/apimiddleware/structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon-chain/rpc/apimiddleware/structs.go b/beacon-chain/rpc/apimiddleware/structs.go index d6b2a7b29103..adf60ee07405 100644 --- a/beacon-chain/rpc/apimiddleware/structs.go +++ b/beacon-chain/rpc/apimiddleware/structs.go @@ -781,8 +781,8 @@ type validatorRegistrationJson struct { } type signedValidatorRegistrationJson struct { - Message validatorRegistrationJson `json:"message"` - Signature string `json:"signature" hex:"true"` + Message *validatorRegistrationJson `json:"message"` + Signature string `json:"signature" hex:"true"` } type signedValidatorRegistrationsRequestJson struct {