aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 2f76f2a92..23cfaf225 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -308,7 +308,7 @@ func (w *worker) mainLoop() {
return false
}
uncles = append(uncles, uncle.Header())
- return true
+ return false
})
w.commit(uncles, nil, true, start)
}
@@ -522,7 +522,7 @@ func (w *worker) updateSnapshot() {
return false
}
uncles = append(uncles, uncle.Header())
- return true
+ return false
})
w.snapshotBlock = types.NewBlock(