mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
Fix indentation and formatting in tx_fetcher.go
This commit is contained in:
parent
a02f418945
commit
de60ff5036
1 changed files with 1 additions and 1 deletions
|
|
@ -376,8 +376,8 @@ 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 'other reject' is >25% of the deliveries in any batch, sleep a bit.
|
||||||
if otherreject > int64(len(batch)/4) {
|
if otherreject > int64(len(batch)/4) {
|
||||||
time.Sleep(200 * time.Millisecond)
|
|
||||||
log.Debug("Peer delivering invalid transactions", "peer", peer, "rejected", otherreject)
|
log.Debug("Peer delivering invalid transactions", "peer", peer, "rejected", otherreject)
|
||||||
|
time.Sleep(200 * time.Millisecond)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue