From 59b224af5f14e19966935e86eb2e528c2ea17507 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 26 Aug 2025 10:49:44 +0200 Subject: [PATCH] eth: remove lastDirect --- eth/handler.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eth/handler.go b/eth/handler.go index 20a3a5af68..d3a2d0eee3 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -120,11 +120,10 @@ type handler struct { snapSync atomic.Bool // Flag whether snap sync is enabled (gets disabled if we already have blocks) synced atomic.Bool // Flag whether we're considered synchronised (enables transaction processing) - database ethdb.Database - txpool txPool - chain *core.BlockChain - maxPeers int - lastDirect atomic.Int64 // Last number of peers we sent transactions to, used to stabilize the randomness + database ethdb.Database + txpool txPool + chain *core.BlockChain + maxPeers int downloader *downloader.Downloader txFetcher *fetcher.TxFetcher