aboutsummaryrefslogtreecommitdiffstats
path: root/state/dump.go
diff options
context:
space:
mode:
Diffstat (limited to 'state/dump.go')
-rw-r--r--state/dump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state/dump.go b/state/dump.go
index 186c6dd73..c1f5ecf3a 100644
--- a/state/dump.go
+++ b/state/dump.go
@@ -20,7 +20,7 @@ type World struct {
Accounts map[string]Account `json:"accounts"`
}
-func (self *State) Dump() []byte {
+func (self *StateDB) Dump() []byte {
world := World{
Root: ethutil.Bytes2Hex(self.Trie.GetRoot()),
Accounts: make(map[string]Account),