aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/state.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-07 01:57:39 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-08 04:29:02 +0800
commita23478c0be94e1e727a64d20341b8d6f98d7f0a0 (patch)
tree27020e2617acb8881332cac998965acdee6c2eb9 /xeth/state.go
parentd7580f21f65beaf896bfc004cf13d28ed87f2ae3 (diff)
downloadgo-tangerine-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.gz
go-tangerine-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.zst
go-tangerine-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.zip
core, eth, trie, xeth: merged state, chain, extra databases in one
Diffstat (limited to 'xeth/state.go')
-rw-r--r--xeth/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/state.go b/xeth/state.go
index 16bfb523d..981fe63b7 100644
--- a/xeth/state.go
+++ b/xeth/state.go
@@ -45,7 +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.StateDb())
+ object = state.NewStateObject(common.HexToAddress(addr), self.xeth.backend.ChainDb())
}
return object