From d06703c251de3c9edd527974885cd65ae268b6c9 Mon Sep 17 00:00:00 2001 From: AnilChinchawale Date: Wed, 20 Jun 2018 10:53:31 +0530 Subject: [PATCH] added NON-ZERO COINBASE IN BLOCK HEADER --- consensus/clique/clique.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index e5795b0282..05d8fbabc3 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -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