This commit is contained in:
Maran
2014-03-17 10:37:37 +01:00
parent 3274e0a249
commit 8ea7e21f64
6 changed files with 132 additions and 33 deletions

View File

@ -219,18 +219,6 @@ func (t *Trie) UpdateState(node interface{}, key []int, value string) interface{
}
func (t *Trie) Put(node interface{}) interface{} {
/*
enc := Encode(node)
if len(enc) >= 32 {
var sha []byte
sha = Sha3Bin(enc)
//t.db.Put([]byte(sha), enc)
return sha
}
return node
*/
/*
TODO?
c := Conv(t.Root)