Skip to content

Commit

Permalink
fix(parlia): correct error msg (#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusKysel authored Dec 20, 2024
1 parent 02410c7 commit 23dfb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 23dfb02

Please sign in to comment.