From 03ff4d1905eb580bb59b3ec9fb6c481ef9d85970 Mon Sep 17 00:00:00 2001 From: Nguyen Ba Tam Date: Wed, 12 Dec 2018 15:02:29 +0700 Subject: [PATCH] broadcast log when insert block --- core/state_processor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/state_processor.go b/core/state_processor.go index 52d1fc0f65..6ec3fcc6f1 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -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)