Update clique.go

This commit is contained in:
Shawn 2023-11-15 12:18:04 -08:00
parent 402e5d2039
commit 539e853455

View file

@ -500,7 +500,6 @@ func (c *Clique) verifySeal(snap *Snapshot, header *types.Header, parents []*typ
// Prepare implements consensus.Engine, preparing all the consensus fields of the
// header for running the transactions on top.
func (c *Clique) Prepare(chain consensus.ChainHeaderReader, header *types.Header) error {
log.Trace("start of prepare")
// If the block isn't a checkpoint, cast a random vote (good enough for now)
header.Coinbase = common.Address{}
header.Nonce = types.BlockNonce{}