Skip to content

Commit

Permalink
Removed a useless set firehose context since evm.Reset already does it
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Apr 17, 2024
1 parent eaeab4a commit 07166a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ func applyTransaction(msg *Message, config *params.ChainConfig, gp *GasPool, sta
txContext := NewEVMTxContext(msg)
evm.Reset(txContext, statedb, txFirehoseContext)

// We need to set it back because each transaction executes in the EVM with it's own context
evm.SetFirehoseContext(txFirehoseContext)

var result *ExecutionResult

var err error
Expand Down

0 comments on commit 07166a2

Please sign in to comment.