mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
Update core/vm/operations_acl.go
This commit is contained in:
parent
8f967299c4
commit
a0901c4893
1 changed files with 0 additions and 1 deletions
|
|
@ -235,7 +235,6 @@ func makeSelfdestructGasFn(refundsEnabled bool) gasFunc {
|
|||
return gas, nil
|
||||
}
|
||||
}
|
||||
|
||||
// if empty and transfers value
|
||||
if evm.StateDB.Empty(address) && evm.StateDB.GetBalance(contract.Address()).Sign() != 0 {
|
||||
gas += params.CreateBySelfdestructGas
|
||||
|
|
|
|||
Loading…
Reference in a new issue