aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/state.go')
-rw-r--r--xeth/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/state.go b/xeth/state.go
index f645a9cac..669cf91e6 100644
--- a/xeth/state.go
+++ b/xeth/state.go
@@ -2,7 +2,7 @@ package xeth
import (
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/state"
+ "github.com/ethereum/go-ethereum/core/state"
)
type State struct {
@@ -29,7 +29,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.eth.StateDb())
+ object = state.NewStateObject(common.HexToAddress(addr), self.xeth.backend.StateDb())
}
return object