mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 01:40:44 +00:00
fix comment of todo (#267)
This commit is contained in:
parent
cd74061ac2
commit
a67b347ba8
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func AttachConsensusV2Hooks(adaptor *XDPoS.XDPoS, bc *core.BlockChain, chainConf
|
||||||
if isEpochSwitch {
|
if isEpochSwitch {
|
||||||
break
|
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]
|
_, exist := statMiners[miner]
|
||||||
if exist {
|
if exist {
|
||||||
statMiners[miner]++
|
statMiners[miner]++
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue