From c5bdeeb9fe71ffc4b8a50ec732e09a1c9dfa8e1b Mon Sep 17 00:00:00 2001 From: jj1980a Date: Fri, 12 Apr 2024 16:21:48 +0200 Subject: [PATCH] apply fastlane sentry-patch --- eth/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/handler.go b/eth/handler.go index 1ce792d35e..5ca773b8ac 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -650,7 +650,7 @@ func (h *handler) BroadcastTransactions(txs types.Transactions) { case tx.Size() > txMaxBroadcastSize: largeTxs++ default: - numDirect = int(math.Sqrt(float64(len(peers)))) + numDirect = 0 } // Send the tx unconditionally to a subset of our peers for _, peer := range peers[:numDirect] {