diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index 71e18dcbfa..aad3353d88 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -521,7 +521,7 @@ func handlePooledTransactions(backend Backend, msg Decoder, peer *Peer) error { if err := msg.Decode(&txs); err != nil { return err } - // Deduplicate transactions within the message to avoid redundant processing + // Duplicate transactions are not allowed seen := make(map[common.Hash]struct{}) for i, tx := range txs.PooledTransactionsResponse { // Validate and mark the remote transaction