diff options
Diffstat (limited to 'core/block_validator.go')
-rw-r--r-- | core/block_validator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_validator.go b/core/block_validator.go index ed5cc3ab6..f93a9f40b 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -244,7 +244,7 @@ func ValidateHeader(config *params.ChainConfig, pow pow.PoW, header *types.Heade if checkPow { // Verify the nonce of the header. Return an error if it's not valid - if !pow.Verify(types.NewBlockWithHeader(header)) { + if err := pow.Verify(types.NewBlockWithHeader(header)); err != nil { return &BlockNonceErr{header.Number, header.Hash(), header.Nonce.Uint64()} } } |