aboutsummaryrefslogtreecommitdiff
path: root/miner/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index a7254e1..e13db06 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -473,7 +473,9 @@ func (w *worker) mainLoop() {
uncles = append(uncles, uncle.Header())
return false
})
- w.commit(uncles, nil, true, start)
+ if !w.manualUncle {
+ w.commit(uncles, nil, true, start)
+ }
}
}