Commit 2432cb38 authored by 0x1337's avatar 0x1337

adding debug

parent 99e66eb4
......@@ -640,6 +640,8 @@ func (ethash *Ethash) verifySeal(chain consensus.ChainReader, header *types.Head
}
// Verify the calculated values against the ones provided in the header
if !bytes.Equal(header.MixDigest[:], digest) {
fmt.Println(header.MixDigest[:])
fmt.Println(digest)
return errInvalidMixDigest
}
target := new(big.Int).Div(two256, header.Difficulty)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment