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 a7057b445..be3b362c4 100644
--- a/state/dump.go
+++ b/state/dump.go
@@ -22,7 +22,7 @@ type World struct {
func (self *State) Dump() []byte {
world := World{
- Root: ethutil.Bytes2Hex(self.Trie.Root.([]byte)),
+ Root: ethutil.Bytes2Hex(self.Trie.GetRoot()),
Accounts: make(map[string]Account),
}