Skip to content

Commit

Permalink
revert: undo the changes of beacon.consensus.go
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 16, 2022
1 parent 17a2fff commit fc84bf1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions consensus/beacon/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,10 @@ func (beacon *Beacon) VerifyUncles(chain consensus.ChainReader, block *types.Blo
// verifyHeader checks whether a header conforms to the consensus rules of the
// stock Ethereum consensus engine. The difference between the beacon and classic is
// (a) The following fields are expected to be constants:
// - difficulty is expected to be 0
// - nonce is expected to be 0
// - unclehash is expected to be Hash(emptyHeader)
// - difficulty is expected to be 0
// - nonce is expected to be 0
// - unclehash is expected to be Hash(emptyHeader)
// to be the desired constants
//
// (b) the timestamp is not verified anymore
// (c) the extradata is limited to 32 bytes
func (beacon *Beacon) verifyHeader(chain consensus.ChainHeaderReader, header, parent *types.Header) error {
Expand Down

0 comments on commit fc84bf1

Please sign in to comment.