diff options
Diffstat (limited to 'xeth/state.go')
-rw-r--r-- | xeth/state.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xeth/state.go b/xeth/state.go index 981fe63b7..7daccb525 100644 --- a/xeth/state.go +++ b/xeth/state.go @@ -45,8 +45,7 @@ func (self *State) SafeGet(addr string) *Object { func (self *State) safeGet(addr string) *state.StateObject { object := self.state.GetStateObject(common.HexToAddress(addr)) if object == nil { - object = state.NewStateObject(common.HexToAddress(addr), self.xeth.backend.ChainDb()) + object = state.NewStateObject(common.HexToAddress(addr), self.xeth.EthereumService().ChainDb()) } - return object } |