diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-04 06:45:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-04 06:45:44 +0800 |
commit | a82b89e2d524a9b7f758dc2d981e8af835d8cd2a (patch) | |
tree | ae3c3c3c8bdd24f1a76c455338c42635a2d1385a /trie | |
parent | c8302882c87afffeb7d9241060e24984a04cb8eb (diff) | |
download | dexon-a82b89e2d524a9b7f758dc2d981e8af835d8cd2a.tar.gz dexon-a82b89e2d524a9b7f758dc2d981e8af835d8cd2a.tar.zst dexon-a82b89e2d524a9b7f758dc2d981e8af835d8cd2a.zip |
Added storage root to dump
Diffstat (limited to 'trie')
-rw-r--r-- | trie/trie.go | 2 |
1 files changed, 1 insertions, 1 deletions
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: |