mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Merge pull request #345 from nguyenbatam/add_broadcast_log_when_insert_block
broadcast log when insert block
This commit is contained in:
commit
a3ce354e2f
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ func (p *StateProcessor) ProcessBlockNoValidator(cBlock *CalculatedBlock, stated
|
|||
return nil, nil, 0, ErrStopPreparingBlock
|
||||
}
|
||||
receipts[i] = receipt
|
||||
allLogs = append(allLogs, receipt.Logs...)
|
||||
}
|
||||
// Finalize the block, applying any consensus engine specific extras (e.g. block rewards)
|
||||
p.engine.Finalize(p.bc, header, statedb, block.Transactions(), block.Uncles(), receipts)
|
||||
|
|
|
|||
Loading…
Reference in a new issue