From a67b347ba8d3d821edd48e4b98d1d933d054f6f2 Mon Sep 17 00:00:00 2001 From: wgr523 Date: Sat, 20 May 2023 17:46:06 +0800 Subject: [PATCH] fix comment of todo (#267) --- eth/hooks/engine_v2_hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/hooks/engine_v2_hooks.go b/eth/hooks/engine_v2_hooks.go index e1f44305ad..599a3af98d 100644 --- a/eth/hooks/engine_v2_hooks.go +++ b/eth/hooks/engine_v2_hooks.go @@ -55,7 +55,7 @@ func AttachConsensusV2Hooks(adaptor *XDPoS.XDPoS, bc *core.BlockChain, chainConf if isEpochSwitch { break } - miner := parentHeader.Coinbase // we can directly use coinbase, since it's verified (Verification is a TODO) + miner := parentHeader.Coinbase // we can directly use coinbase, since it's verified _, exist := statMiners[miner] if exist { statMiners[miner]++