This commit is contained in:
alex.sharov 2021-08-28 16:58:07 +07:00
parent e866d47c1b
commit a5f7d205e0

View File

@ -941,7 +941,6 @@ func (p *TxPool) AddNewGoodPeer(peerID PeerID) { p.recentlyConnectedPeers.AddPee
func (p *TxPool) Started() bool { return p.protocolBaseFee.Load() > 0 }
func (p *TxPool) OnNewTxs(ctx context.Context, coreDB kv.RoDB, newTxs TxSlots, senders *SendersCache) error {
defer func(t time.Time) { fmt.Printf("pool.go:944: %s\n", time.Since(t)) }(time.Now())
p.lock.Lock()
defer p.lock.Unlock()