mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: address todo question wrt log count
This commit is contained in:
parent
72e41e6d8d
commit
69149ca133
1 changed files with 2 additions and 3 deletions
|
|
@ -1247,9 +1247,8 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals bool) (int, []
|
||||||
}
|
}
|
||||||
stats.processed++
|
stats.processed++
|
||||||
|
|
||||||
// TODO(karalabe): Can we assume canonicalness here? Can we assume no logs?
|
// We can assume that logs are empty here, since the only way for consecutive
|
||||||
// In theory I can make a block *with* transactions but *no* state change if
|
// Clique blocks to have the same state is if there are no transactions.
|
||||||
// the only transactions are miner-self-sends or 0-price-self-sends.
|
|
||||||
events = append(events, ChainEvent{block, block.Hash(), nil})
|
events = append(events, ChainEvent{block, block.Hash(), nil})
|
||||||
lastCanon = block
|
lastCanon = block
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue