diff options
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go index 4385b51c8..77b8406cb 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -207,6 +207,9 @@ func (self *worker) commitNewWork() { defer self.uncleMu.Unlock() block := self.chain.NewBlock(self.coinbase) + if block.Time() == self.chain.CurrentBlock().Time() { + block.Header().Time++ + } self.current = env(block, self.eth) for _, ancestor := range self.chain.GetAncestors(block, 7) { |