From 23dfb027fbe20a37a799ec276d99d687faa56b89 Mon Sep 17 00:00:00 2001 From: Matus Kysel Date: Fri, 20 Dec 2024 07:12:12 +0100 Subject: [PATCH] fix(parlia): correct error msg (#2816) --- consensus/parlia/parlia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/parlia/parlia.go b/consensus/parlia/parlia.go index 0800bbad22..bce6757b63 100644 --- a/consensus/parlia/parlia.go +++ b/consensus/parlia/parlia.go @@ -648,7 +648,7 @@ func (p *Parlia) verifyHeader(chain consensus.ChainHeaderReader, header *types.H prague := chain.Config().IsPrague(header.Number, header.Time) if !prague { if header.RequestsHash != nil { - return fmt.Errorf("invalid RequestsHash, have %#x, expected nil", header.ParentBeaconRoot) + return fmt.Errorf("invalid RequestsHash, have %#x, expected nil", header.RequestsHash) } } else { if header.RequestsHash == nil {