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))