Update core/vm/operations_acl.go

This commit is contained in:
jwasinger 2025-12-18 11:19:03 -08:00 committed by GitHub
parent 8f967299c4
commit a0901c4893
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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