Skip to content

Commit fd88ae7

Browse files
committed
eth/fetcher: fix log
1 parent 653baed commit fd88ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/fetcher/tx_fetcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (f *TxFetcher) Enqueue(peer string, txs []*types.Transaction, direct bool)
328328
// out of sync with the chain or the peer is griefing us.
329329
if otherreject > 128/4 {
330330
delay = 200 * time.Millisecond
331-
log.Warn("Peer delivering useless transactions, sleeping", "ignored", len(txs)-i)
331+
log.Warn("Peer delivering useless transactions", "ignored", len(txs)-end, "peer", peer)
332332
break
333333
}
334334
}

0 commit comments

Comments
 (0)