Skip to content

Commit

Permalink
apply fastlane sentry-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Actions committed Sep 13, 2024
1 parent e69e4c8 commit 74f14e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,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] {
Expand Down

0 comments on commit 74f14e3

Please sign in to comment.