From 42462c40bebda1653c473d53e276ea850326c201 Mon Sep 17 00:00:00 2001 From: wormholeslab Date: Thu, 29 Dec 2022 20:24:24 +0800 Subject: [PATCH] fix: remove logs of empty block --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index f9bd6ae1..2b3e6c03 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -471,7 +471,7 @@ func (w *worker) emptyLoop() { totalCondition++ //if curTime-int64(curBlock.Time()) < 120 && curBlock.Number().Uint64() > 0 { if totalCondition < 120 && curBlock.Number().Uint64() > 0 { - log.Info("wait empty condition", "totalCondition", totalCondition, "time", curTime, "blocktime", int64(w.chain.CurrentBlock().Time())) + //log.Info("wait empty condition", "totalCondition", totalCondition, "time", curTime, "blocktime", int64(w.chain.CurrentBlock().Time())) continue } else { log.Info("ok empty condition", "totalCondition", totalCondition, "time", curTime, "blocktime", int64(w.chain.CurrentBlock().Time()))