From 265f1224c11ae7f66c8a1ae5a29619860ed2fa78 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Tue, 29 Apr 2025 22:44:30 +0200 Subject: [PATCH] eth: fixup per-peer metrics Signed-off-by: Csaba Kiraly --- eth/fetcher/tx_fetcher.go | 1 - 1 file changed, 1 deletion(-) diff --git a/eth/fetcher/tx_fetcher.go b/eth/fetcher/tx_fetcher.go index cb3ba46372..98a1c6e9a6 100644 --- a/eth/fetcher/tx_fetcher.go +++ b/eth/fetcher/tx_fetcher.go @@ -310,7 +310,6 @@ func (f *TxFetcher) isKnownUnderpriced(hash common.Hash) bool { // direct request replies. The differentiation is important so the fetcher can // re-schedule missing transactions as soon as possible. func (f *TxFetcher) Enqueue(peer string, txs []*types.Transaction, direct bool) error { - // TODO: add peer metrics here var ( inMeter = txReplyInMeter knownMeter = txReplyKnownMeter