From acd7e62cfbea2860820b391553fc2bbec55a5b78 Mon Sep 17 00:00:00 2001 From: kasey <489222+kasey@users.noreply.github.com> Date: Thu, 24 Mar 2022 13:32:39 -0500 Subject: [PATCH] fix issue #10420 (#10421) Co-authored-by: Kasey Kirkham --- beacon-chain/rpc/eth/helpers/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/rpc/eth/helpers/sync.go b/beacon-chain/rpc/eth/helpers/sync.go index a22f0e729..c3a355bf4 100644 --- a/beacon-chain/rpc/eth/helpers/sync.go +++ b/beacon-chain/rpc/eth/helpers/sync.go @@ -28,7 +28,7 @@ func ValidateSync(ctx context.Context, syncChecker sync.Checker, headFetcher blo err := grpc.AppendCustomErrorHeader(ctx, syncDetailsContainer) if err != nil { return status.Errorf( - codes.InvalidArgument, + codes.Internal, "Syncing to latest head, not ready to respond. Could not prepare sync details: %v", err, )