From 9c0f1971fe919b8afb0d5bfe4b9337d8aab369a4 Mon Sep 17 00:00:00 2001 From: Isma <71719097+Doozers@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:26:44 +0100 Subject: [PATCH] fix: Capella blocks => Deneb Blocks --- plugins/pgeth-monitoring/pgeth_monitoring.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/pgeth-monitoring/pgeth_monitoring.go b/plugins/pgeth-monitoring/pgeth_monitoring.go index 262cb409f2..1cc409e608 100644 --- a/plugins/pgeth-monitoring/pgeth_monitoring.go +++ b/plugins/pgeth-monitoring/pgeth_monitoring.go @@ -348,9 +348,9 @@ func (me *MonitoringEngine) startHeadListener(ctx context.Context) { continue } - newHighestFinalized := res.Data.Capella.Message.Body.ExecutionPayload.BlockNumber + newHighestFinalized := res.Data.Deneb.Message.Body.ExecutionPayload.BlockNumber if highestFinalized == 0 { - highestFinalized = res.Data.Capella.Message.Body.ExecutionPayload.BlockNumber + highestFinalized = res.Data.Deneb.Message.Body.ExecutionPayload.BlockNumber me.ptk.Logger.Info("Finalized head was updated", "number", highestFinalized) } else if newHighestFinalized > highestFinalized { me.ptk.Logger.Info("Updating finalized head", "from", highestFinalized, "to", newHighestFinalized)