Added storage root to dump

This commit is contained in:
obscuren
2014-11-03 23:45:44 +01:00
parent c8302882c8
commit a82b89e2d5
4 changed files with 8 additions and 3 deletions

View File

@ -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: