diff --git a/core/state_processor.go b/core/state_processor.go index 54b4de9c6c..a4db749752 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -133,7 +133,10 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg if err != nil { return nil, nil, 0, err } - receipt, _, _ := ApplyTransaction(p.config, p.bc, nil, gp, statedb, header, tx, usedGas, cfg) + receipt, _, err := ApplyTransaction(p.config, p.bc, nil, gp, statedb, header, tx, usedGas, cfg) + if err != nil { + return nil, nil, 0, err + } receipts = append(receipts, receipt) allLogs = append(allLogs, receipt.Logs...) }