aboutsummaryrefslogtreecommitdiffstats
path: root/core/state
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-29 17:17:18 +0800
committerGitHub <noreply@github.com>2016-06-29 17:17:18 +0800
commitfd4e161497156a5d12fd8712f41574bc7fb20404 (patch)
tree56ce21d1aaf6df3908335601a687f0f3ac4a50be /core/state
parente0493457d5a9d280554990b5a29c4fcad69e7d0b (diff)
parent6362a9d6102b26e926b3e73563267fc75cb30f9c (diff)
downloaddexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar.gz
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar.bz2
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar.lz
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar.xz
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.tar.zst
dexon-fd4e161497156a5d12fd8712f41574bc7fb20404.zip
Merge pull request #2752 from karalabe/revert-soft-fork
Revert faulty DAO soft-fork
Diffstat (limited to 'core/state')
-rw-r--r--core/state/statedb.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/state/statedb.go b/core/state/statedb.go
index be1960f9e..3e25e0c16 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -161,14 +161,6 @@ func (self *StateDB) GetCode(addr common.Address) []byte {
return nil
}
-func (self *StateDB) GetCodeHash(addr common.Address) common.Hash {
- stateObject := self.GetStateObject(addr)
- if stateObject != nil {
- return common.BytesToHash(stateObject.codeHash)
- }
- return common.Hash{}
-}
-
func (self *StateDB) GetState(a common.Address, b common.Hash) common.Hash {
stateObject := self.GetStateObject(a)
if stateObject != nil {