aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_manager.go b/block_manager.go
index 21162f36b..1a73a45f2 100644
--- a/block_manager.go
+++ b/block_manager.go
@@ -139,7 +139,7 @@ func (bm *BlockManager) ValidateBlock(block *ethutil.Block) error {
}
// Verify the nonce of the block. Return an error if it's not valid
- if !DaggerVerify(block.Hash(), block.Nonce) {
+ if !DaggerVerify(ethutil.BigD(block.Hash()), block.Difficulty, block.Nonce) {
return errors.New("Block's nonce is invalid")
}