From 034f773b6bb47de025bddf2b966ee71f77a8b889 Mon Sep 17 00:00:00 2001 From: Tuna Date: Wed, 16 May 2018 23:17:00 +0700 Subject: [PATCH] allow 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 4def588dfa..13e8bb878e 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