mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-21 02:18:07 +00:00
core/vm: fix evm reuse bug
This commit is contained in:
parent
93ffca2571
commit
829dc9424f
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ func (evm *EVM) SetTxContext(txCtx TxContext) {
|
|||
txCtx.AccessEvents = state.NewAccessEvents()
|
||||
}
|
||||
evm.TxContext = txCtx
|
||||
evm.CollisionBurned = 0
|
||||
}
|
||||
|
||||
// Cancel cancels any running EVM operation. This may be called concurrently and
|
||||
|
|
|
|||
Loading…
Reference in a new issue