rm extra CaptureTxEnd

This commit is contained in:
Sina Mahmoodi 2023-07-10 17:32:54 +02:00
parent 3cabef4c66
commit f1bd4151c1

View file

@ -99,9 +99,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
var receipt *types.Receipt
receipt, err = applyTransaction(msg, p.config, gp, statedb, blockNumber, blockHash, tx, usedGas, vmenv)
if vmenv.Config.Tracer != nil {
vmenv.Config.Tracer.CaptureTxEnd(receipt)
}
if err != nil {
return nil, nil, 0, fmt.Errorf("could not apply tx %d [%v]: %w", i, tx.Hash().Hex(), err)
}