Skip to content

Commit

Permalink
Merge pull request ethereum#16 from ngtuna/non-zero-coinbase
Browse files Browse the repository at this point in the history
allow non-zero coinbase in block header
  • Loading branch information
ngtuna authored May 16, 2018
2 parents f6bb19d + 034f773 commit ee4379f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions consensus/clique/clique.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,6 @@ func (c *Clique) verifyHeader(chain consensus.ChainReader, header *types.Header,
}
// Checkpoint blocks need to enforce zero beneficiary
checkpoint := (number % c.config.Epoch) == 0
if checkpoint && header.Coinbase != (common.Address{}) {
return errInvalidCheckpointBeneficiary
}
// Nonces must be 0x00..0 or 0xff..f, zeroes enforced on checkpoints
if !bytes.Equal(header.Nonce[:], nonceAuthVote) && !bytes.Equal(header.Nonce[:], nonceDropVote) {
return errInvalidVote
Expand Down

0 comments on commit ee4379f

Please sign in to comment.