Skip to content

Commit

Permalink
fix for bad history
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Oct 15, 2024
1 parent 2ef4cd8 commit 79b3bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ func (p *Parlia) verifyTurnLength(chain consensus.ChainHeaderReader, header *typ
// Initialize runs any pre-transaction state modifications (e.g. epoch start)
func (p *Parlia) Initialize(config *chain.Config, chain consensus.ChainHeaderReader, header *types.Header,
state *state.IntraBlockState, syscall consensus.SysCallCustom, logger log.Logger, tracer *tracing.Hooks) error {
return nil
var err error
parentHeader := chain.GetHeader(header.ParentHash, header.Number.Uint64()-1)
if err = p.verifyValidators(header, parentHeader, state); err != nil {
Expand Down

0 comments on commit 79b3bd5

Please sign in to comment.