diff --git a/cmd/gexp/main.go b/cmd/gexp/main.go index fe4cd3d639..7c418c3588 100644 --- a/cmd/gexp/main.go +++ b/cmd/gexp/main.go @@ -47,12 +47,11 @@ import ( ) const ( - ClientIdentifier = "Gexp" - Version = "1.1.1" + Version = "1.1.2" VersionMajor = 1 VersionMinor = 1 - VersionPatch = 1 + VersionPatch = 2 ) var ( diff --git a/miner/worker.go b/miner/worker.go index 1068402e10..a18f6a8df2 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -434,7 +434,7 @@ func (self *worker) commitNewWork() { tstart := time.Now() parent := self.chain.CurrentBlock() tstamp := tstart.Unix() - if parent.Time().Cmp(new(big.Int).SetInt64(tstamp)) != 1 { + if parent.Time().Cmp(new(big.Int).SetInt64(tstamp)) >= 0 { tstamp = parent.Time().Int64() + 1 } // this will ensure we're not going off too far in the future