eth/fetcher: downgrade state tx log (#2195)

This commit is contained in:
Ng Wei Han 2024-02-02 10:58:17 +08:00 committed by GitHub
parent 82beb2c5f3
commit 78d1cade19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -338,7 +338,7 @@ func (f *TxFetcher) Enqueue(peer string, txs []*types.Transaction, direct bool)
// If 'other reject' is >25% of the deliveries in any batch, sleep a bit.
if otherreject > 128/4 {
time.Sleep(200 * time.Millisecond)
log.Warn("Peer delivering stale transactions", "peer", peer, "rejected", otherreject)
log.Debug("Peer delivering stale transactions", "peer", peer, "rejected", otherreject)
}
}
select {