mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
update comment
This commit is contained in:
parent
7663959956
commit
9ac675d0c7
1 changed files with 3 additions and 2 deletions
|
|
@ -281,8 +281,9 @@ func (evm *EVM) Call(caller common.Address, addr common.Address, input []byte, g
|
|||
}
|
||||
evm.StateDB.CreateAccount(addr)
|
||||
}
|
||||
// Perform the value transfer in non-syscall mode. This is essential for zero-value
|
||||
// transfers to ensure the clearing mechanism is applied.
|
||||
// Perform the value transfer only in non-syscall mode.
|
||||
// Calling this is required even for zero-value transfers,
|
||||
// to ensure the state clearing mechanism is applied.
|
||||
if !syscall {
|
||||
evm.Context.Transfer(evm.StateDB, caller, addr, value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue