fix N being overwritten by BigInt.Div functionality

pull/2/head
Peter Vessenes 11 years ago
parent ce40e51ae5
commit 06adb4c9ae
  1. 2
      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()

Loading…
Cancel
Save