Skip to content

Commit

Permalink
fix not return error when blockTimeVerifyForRamanujanFork failed
Browse files Browse the repository at this point in the history
  • Loading branch information
unclezoro committed Aug 11, 2020
1 parent 8c1d1db commit c399c88
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 @@ -393,7 +393,7 @@ func (p *Parlia) verifyCascadingFields(chain consensus.ChainReader, header *type

err = p.blockTimeVerifyForRamanujanFork(snap, header, parent)
if err != nil {
return nil
return err
}

// Verify that the gas limit is <= 2^63-1
Expand Down

0 comments on commit c399c88

Please sign in to comment.