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++
|
||||
|
||||
// TODO(karalabe): Can we assume canonicalness here? Can we assume no logs?
|
||||
// In theory I can make a block *with* transactions but *no* state change if
|
||||
// the only transactions are miner-self-sends or 0-price-self-sends.
|
||||
// We can assume that logs are empty here, since the only way for consecutive
|
||||
// Clique blocks to have the same state is if there are no transactions.
|
||||
events = append(events, ChainEvent{block, block.Hash(), nil})
|
||||
lastCanon = block
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue