diff --git a/geth-poa/genesis.json b/geth-poa/genesis.json index 3cc9959ad0..6808476e91 100644 --- a/geth-poa/genesis.json +++ b/geth-poa/genesis.json @@ -15,7 +15,7 @@ "arrowGlacierBlock": 0, "grayGlacierBlock": 0, "clique": { - "period": 100, + "period": 200, "epoch": 30000 } }, diff --git a/miner/worker.go b/miner/worker.go index be9e6ba873..be581d1e5b 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -805,12 +805,14 @@ func (w *worker) applyTransaction(env *environment, tx *types.Transaction) (*typ func (w *worker) commitTransactions(env *environment, txs *transactionsByPriceAndNonce, interrupt *atomic.Int32, minTip *big.Int) error { var c int + var gas uint64 for _, ttxs := range txs.txs { - for range ttxs { + for _, tx := range ttxs { c++ + gas += tx.Gas } } - log.Info("committing transactions", "count", c) + log.Info("committing transactions", "count", c, "gas", gas) gasLimit := env.header.GasLimit if env.gasPool == nil {