fix comment of todo (#267)

This commit is contained in:
wgr523 2023-05-20 17:46:06 +08:00 committed by GitHub
parent cd74061ac2
commit a67b347ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]++