diff options
author | Maran <maran.hidskes@gmail.com> | 2014-03-17 17:37:37 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-03-17 17:37:37 +0800 |
commit | 8ea7e21f64842380833cce7aafa52b909cb8426b (patch) | |
tree | 08b138c3ef94da8fb1ff0a11c7c47aba5e59e616 /ethutil/trie.go | |
parent | 3274e0a2496e622a847b213bb5ba0272650ef06c (diff) | |
download | dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar.gz dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar.bz2 dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar.lz dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar.xz dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.tar.zst dexon-8ea7e21f64842380833cce7aafa52b909cb8426b.zip |
Merge
Diffstat (limited to 'ethutil/trie.go')
-rw-r--r-- | ethutil/trie.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ethutil/trie.go b/ethutil/trie.go index a17dc37ad..c67f750bc 100644 --- a/ethutil/trie.go +++ b/ethutil/trie.go @@ -220,18 +220,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) fmt.Println(c.Type(), c.Length()) |