From a82b89e2d524a9b7f758dc2d981e8af835d8cd2a Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 3 Nov 2014 23:45:44 +0100 Subject: Added storage root to dump --- trie/trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie') diff --git a/trie/trie.go b/trie/trie.go index b442abfe3..d5ab2035a 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -178,7 +178,7 @@ func (self *Trie) setRoot(root interface{}) { switch t := root.(type) { case string: if t == "" { - root = crypto.Sha3([]byte("")) + root = crypto.Sha3(ethutil.Encode("")) } self.Root = root case []byte: -- cgit