index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
miner
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'miner')
-rw-r--r--
miner/worker.go
4
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)
+ }
}
}