diff --git a/dagger.go b/dagger.go index 8509232a23..a90121b484 100644 --- a/dagger.go +++ b/dagger.go @@ -115,7 +115,7 @@ func Sum(sha hash.Hash) []byte { func (dag *Dagger) Eval(N *big.Int) *big.Int { pow := BigPow(2, 26) - dag.xn = N.Div(N, pow) + dag.xn = pow.Div(N, pow) sha := sha3.NewKeccak224() sha.Reset()