aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug.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 /rpc/api/debug.go
parentd7580f21f65beaf896bfc004cf13d28ed87f2ae3 (diff)
downloaddexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.gz
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.bz2
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.lz
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.xz
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.tar.zst
dexon-a23478c0be94e1e727a64d20341b8d6f98d7f0a0.zip
core, eth, trie, xeth: merged state, chain, extra databases in one
Diffstat (limited to 'rpc/api/debug.go')
-rw-r--r--rpc/api/debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/debug.go b/rpc/api/debug.go
index cdacd6c62..d325b1720 100644
--- a/rpc/api/debug.go
+++ b/rpc/api/debug.go
@@ -119,7 +119,7 @@ func (self *debugApi) DumpBlock(req *shared.Request) (interface{}, error) {
return nil, fmt.Errorf("block #%d not found", args.BlockNumber)
}
- stateDb := state.New(block.Root(), self.ethereum.StateDb())
+ stateDb := state.New(block.Root(), self.ethereum.ChainDb())
if stateDb == nil {
return nil, nil
}