From ace482bd0015e2f91cd0a5412f31d7b999008361 Mon Sep 17 00:00:00 2001 From: Enrique Jose Avila Asapche Date: Thu, 9 Jun 2022 11:26:30 +0100 Subject: [PATCH] revert #4411 (#4418) --- cmd/rpcdaemon/commands/engine_api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/rpcdaemon/commands/engine_api.go b/cmd/rpcdaemon/commands/engine_api.go index f9f76613c..d5ee50769 100644 --- a/cmd/rpcdaemon/commands/engine_api.go +++ b/cmd/rpcdaemon/commands/engine_api.go @@ -78,8 +78,6 @@ func convertPayloadStatus(x *remote.EnginePayloadStatus) map[string]interface{} } if x.LatestValidHash != nil { json["latestValidHash"] = common.Hash(gointerfaces.ConvertH256ToHash(x.LatestValidHash)) - } else { - json["latestValidHash"] = common.Hash{} } if x.ValidationError != "" { json["validationError"] = x.ValidationError