From cf351f8e6432555ba440260a31ed4282d77d7dcc Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 21 Aug 2021 18:52:36 +0700 Subject: [PATCH] save --- txpool/pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txpool/pool.go b/txpool/pool.go index 052009cf0..cfa3a82c2 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -460,7 +460,7 @@ func (p *TxPool) Started() bool { } func (p *TxPool) Add(coreDB kv.RoDB, newTxs TxSlots, senders *SendersCache) error { - t := time.Now() + //t := time.Now() if err := senders.onNewTxs(coreDB, newTxs); err != nil { return err } @@ -492,7 +492,7 @@ func (p *TxPool) Add(coreDB kv.RoDB, newTxs TxSlots, senders *SendersCache) erro } } - log.Info("on new txs", "in", time.Since(t)) + //log.Info("on new txs", "in", time.Since(t)) return nil } func onNewTxs(senders *SendersCache, newTxs TxSlots, protocolBaseFee, pendingBaseFee uint64, pending, baseFee, queued *SubPool, byHash map[string]*metaTx, localsHistory *simplelru.LRU) error {