Skip to content

Commit

Permalink
apply hook
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Sep 20, 2024
1 parent dbb56dd commit 89628ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func NewEVM(blockCtx BlockContext, txCtx TxContext, statedb StateDB, chainConfig
// This is not threadsafe and should only be done very cautiously.
func (evm *EVM) Reset(txCtx TxContext, statedb StateDB) {
evm.TxContext = txCtx
evm.StateDB = statedb
evm.StateDB = StateDbHook(evm.chainRules, statedb)
}

// Cancel cancels any running EVM operation. This may be called concurrently and
Expand Down

0 comments on commit 89628ba

Please sign in to comment.