broadcast log when insert block

This commit is contained in:
Nguyen Ba Tam 2018-12-12 15:02:29 +07:00
parent 5ad7b0d978
commit 03ff4d1905

View file

@ -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)