// We only care about logging if we're actually mining.
// We only care about logging if we're actually mining.
ifatomic.LoadInt32(&self.mining)==1{
ifatomic.LoadInt32(&self.mining)==1{
glog.V(logger.Info).Infof("commit new work on block %v with %d txs & %d uncles. Took %v\n",current.Block.Number(),current.tcount,len(uncles),time.Since(tstart))
glog.V(logger.Info).Infof("commit new work on block %v with %d txs & %d uncles. Took %v\n",work.Block.Number(),work.tcount,len(uncles),time.Since(tstart))