diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-12 09:39:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-12 09:39:17 +0800 |
commit | 406adb4563d4664e4ce63a7786ea57f797c42e47 (patch) | |
tree | e83e615910ed41a83d7796ca46b0091d2e8d4467 | |
parent | 54bce64e3a8e50b6553364f2f01b38382ffbc4df (diff) | |
download | go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar.gz go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar.bz2 go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar.lz go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar.xz go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.tar.zst go-tangerine-406adb4563d4664e4ce63a7786ea57f797c42e47.zip |
Fixed dagger verification
-rw-r--r-- | block_manager.go | 2 |
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") } |