aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_pow.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/chain_pow.go')
-rw-r--r--core/chain_pow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_pow.go b/core/chain_pow.go
index c3b5788c1..e5ccd87e2 100644
--- a/core/chain_pow.go
+++ b/core/chain_pow.go
@@ -65,7 +65,7 @@ func verifyNonces(checker pow.PoW, items []pow.Block) (chan<- struct{}, <-chan n
for i := 0; i < workers; i++ {
go func() {
for index := range tasks {
- results <- nonceCheckResult{index: index, valid: checker.Verify(items[index])}
+ results <- nonceCheckResult{index: index, valid: checker.Verify(items[index]) == nil}
}
}()
}