diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-15 04:48:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-15 04:48:16 +0800 |
commit | 44900e363cbc81b640bc16bcc7e6a50c22352be4 (patch) | |
tree | cf7ce2273bc493ec0757d1d445f9bb1aa9024ae3 /dagger.go | |
parent | 578b63e2b8a32122fb45f9f053503e51d9a5c535 (diff) | |
download | go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar.gz go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar.bz2 go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar.lz go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar.xz go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.tar.zst go-tangerine-44900e363cbc81b640bc16bcc7e6a50c22352be4.zip |
Updated to temporary trie
Diffstat (limited to 'dagger.go')
-rw-r--r-- | dagger.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -116,8 +116,8 @@ func (dag *Dagger) Node(L uint64, i uint64) *big.Int { } func Sum(sha hash.Hash) []byte { - in := make([]byte, 32) - return sha.Sum(in) + //in := make([]byte, 32) + return sha.Sum(nil) } func (dag *Dagger) Eval(N *big.Int) *big.Int { @@ -146,3 +146,4 @@ func (dag *Dagger) Eval(N *big.Int) *big.Int { return ret.SetBytes(Sum(sha)) } + |