aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-10 18:18:54 +0800
committerobscuren <geffobscura@gmail.com>2014-01-10 18:18:54 +0800
commitdbd28a52525581b59fb334f2aafa3b2b56fb6ba8 (patch)
tree86c1184cafb6454d07845d6998ff6fc1152eeb67
parentfbc59b7323394fc95e0d87f20375c5e1cbec2170 (diff)
downloadgo-tangerine-dbd28a52525581b59fb334f2aafa3b2b56fb6ba8.tar.gz
go-tangerine-dbd28a52525581b59fb334f2aafa3b2b56fb6ba8.tar.zst
go-tangerine-dbd28a52525581b59fb334f2aafa3b2b56fb6ba8.zip
224 to 256
-rw-r--r--dagger.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/dagger.go b/dagger.go
index 8509232a2..2c1976840 100644
--- a/dagger.go
+++ b/dagger.go
@@ -84,9 +84,9 @@ func (dag *Dagger) Node(L uint64, i uint64) *big.Int {
m = big.NewInt(3)
}
- sha := sha3.NewKeccak224()
+ sha := sha3.NewKeccak256()
sha.Reset()
- d := sha3.NewKeccak224()
+ d := sha3.NewKeccak256()
b := new(big.Int)
ret := new(big.Int)
@@ -117,12 +117,12 @@ func (dag *Dagger) Eval(N *big.Int) *big.Int {
pow := BigPow(2, 26)
dag.xn = N.Div(N, pow)
- sha := sha3.NewKeccak224()
+ sha := sha3.NewKeccak256()
sha.Reset()
ret := new(big.Int)
for k := 0; k < 4; k++ {
- d := sha3.NewKeccak224()
+ d := sha3.NewKeccak256()
b := new(big.Int)
d.Reset()