aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 52dd5687d..11d09d953 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -184,9 +184,7 @@ func (self *Miner) mine() {
block.Header().Extra = self.Extra
// Apply uncles
- if len(self.uncles) > 0 {
- block.SetUncles(self.uncles)
- }
+ block.SetUncles(self.uncles)
parent := chainMan.GetBlock(block.ParentHash())
coinbase := state.GetOrNewStateObject(block.Coinbase())