aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug.go
diff options
context:
space:
mode:
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
}