aboutsummaryrefslogtreecommitdiff
path: root/miner
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2019-09-25 17:27:38 -0400
committerDeterminant <tederminant@gmail.com>2019-09-25 17:27:38 -0400
commitd4db89bc68208c3b31e6439347d0648936bf7d73 (patch)
tree03ccaa3b027a888368c6039f0f5509258dd34d0e /miner
parent083d6fdeeb166ac280748da735b11363075b7136 (diff)
...
Diffstat (limited to 'miner')
-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)
+ }
}
}