aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/world.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-31 21:43:14 +0800
committerobscuren <geffobscura@gmail.com>2014-10-31 21:43:14 +0800
commitaf8f5f0b69f1c359991d12c7708804fe8dd1f944 (patch)
treedd3d5bea8d57037a2d32fae86c4ba7fcc9161b16 /xeth/world.go
parent0ed1a8b50a9b9726cd57a2731d0405f6949c6188 (diff)
downloadgo-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.gz
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.bz2
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.lz
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.xz
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.zst
go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.zip
ethstate => state
Diffstat (limited to 'xeth/world.go')
-rw-r--r--xeth/world.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/xeth/world.go b/xeth/world.go
index daeb59e1c..dda2df274 100644
--- a/xeth/world.go
+++ b/xeth/world.go
@@ -3,7 +3,7 @@ package xeth
import (
"container/list"
- "github.com/ethereum/go-ethereum/ethstate"
+ "github.com/ethereum/go-ethereum/state"
)
type World struct {
@@ -22,7 +22,7 @@ func (self *XEth) World() *World {
return self.world
}
-func (self *World) State() *ethstate.State {
+func (self *World) State() *state.State {
return self.pipe.stateManager.CurrentState()
}
@@ -34,16 +34,16 @@ func (self *World) SafeGet(addr []byte) *Object {
return &Object{self.safeGet(addr)}
}
-func (self *World) safeGet(addr []byte) *ethstate.StateObject {
+func (self *World) safeGet(addr []byte) *state.StateObject {
object := self.State().GetStateObject(addr)
if object == nil {
- object = ethstate.NewStateObject(addr)
+ object = state.NewStateObject(addr)
}
return object
}
-func (self *World) Coinbase() *ethstate.StateObject {
+func (self *World) Coinbase() *state.StateObject {
return nil
}