Bladeren bron

miner: show error message for gas limit per account

obscuren 10 jaren geleden
bovenliggende
commit
48135657c4
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      miner/worker.go

+ 2 - 2
miner/worker.go

@@ -290,8 +290,8 @@ func (self *worker) commitNewWork() {
 			// ignore the transactor so no nonce errors will be thrown for this account
 			// next time the worker is run, they'll be picked up again.
 			ignoredTransactors.Add(from)
-			//glog.V(logger.Debug).Infof("Gas limit reached for block. %d TXs included in this block\n", i)
-			//break gasLimit
+
+			glog.V(logger.Detail).Infof("Gas limit reached for (%x) in this block. Continue to try smaller txs\n", from[:4])
 		default:
 			tcount++
 		}