From 3502150f98f147c44a8a016cb8d7920aa5c76540 Mon Sep 17 00:00:00 2001 From: healthykim Date: Thu, 2 Jul 2026 17:07:34 +0200 Subject: [PATCH] eth: move tracker.Start() to the handler.Start() --- eth/backend.go | 3 --- eth/handler.go | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index 625f152441..f1b0d46cd7 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -470,9 +470,6 @@ func (s *Ethereum) Start() error { // Start the networking layer s.handler.Start(s.p2pServer.MaxPeers) - // Start the transaction tracker (records tx deliveries, credits peer inclusions). - s.handler.txTracker.Start(s.blockchain) - // Start the connection manager with inclusion-based peer protection. s.dropper.Start(s.p2pServer, func() bool { return !s.Synced() }, s.handler.txTracker.GetAllPeerStats) diff --git a/eth/handler.go b/eth/handler.go index 38aa7ea478..4a9573efbe 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -430,6 +430,9 @@ func (h *handler) Start(maxPeers int) { // start sync handlers h.txFetcher.Start() + // Start the transaction tracker (records tx deliveries, credits peer inclusions). + h.txTracker.Start(h.chain) + // start peer handler tracker h.wg.Add(1) go h.protoTracker()