diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-06 04:22:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-10-06 21:32:17 +0800 |
commit | 90fce8bfa621f8c3be6663d62740783949111ff1 (patch) | |
tree | ae93f2f9f637f0530eb0cedc354871ca377717ad /core/vm/jit.go | |
parent | 1f1ea18b5414bea22332bb4fce53cc95b5c6a07d (diff) | |
download | go-tangerine-90fce8bfa621f8c3be6663d62740783949111ff1.tar.gz go-tangerine-90fce8bfa621f8c3be6663d62740783949111ff1.tar.zst go-tangerine-90fce8bfa621f8c3be6663d62740783949111ff1.zip |
core/state: rename Delete/IsDeleted to Suicide/HasSuicided
The delete/remove naming has caused endless confusion in the past.
Diffstat (limited to 'core/vm/jit.go')
-rw-r--r-- | core/vm/jit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/jit.go b/core/vm/jit.go index 460a68ddd..55d2e0477 100644 --- a/core/vm/jit.go +++ b/core/vm/jit.go @@ -425,7 +425,7 @@ func jitCalculateGasAndSize(env Environment, contract *Contract, instr instructi } gas.Set(g) case SUICIDE: - if !statedb.IsDeleted(contract.Address()) { + if !statedb.HasSuicided(contract.Address()) { statedb.AddRefund(params.SuicideRefundGas) } case MLOAD: |