From fe75603d0b9b099c2c9d081d489a04982794271a Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:08:51 +0100 Subject: [PATCH] remove outdated comment --- consensus/ethash/consensus.go | 1 - 1 file changed, 1 deletion(-) diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 91f2cf7ad7..56b35d72f2 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -593,7 +593,6 @@ func (ethash *Ethash) Prepare(chain consensus.ChainHeaderReader, header *types.H // Finalize implements consensus.Engine, accumulating the block and uncle rewards, // setting the final state on the header func (ethash *Ethash) Finalize(chain consensus.ChainHeaderReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header) { - // TODO(gballet) aw should be part of StateDB // Accumulate any block and uncle rewards and commit the final state root accumulateRewards(chain.Config(), state, header, uncles) header.Root = state.IntermediateRoot(chain.Config().IsEIP158(header.Number))