From 201dabf005b7408ea1d62ec7a8503eb06647619c Mon Sep 17 00:00:00 2001 From: wit Date: Sun, 9 Nov 2025 11:46:14 +0800 Subject: [PATCH] eth/protocols/eth: error strings should not be capitalized --- eth/protocols/eth/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index aad3353d88..0a334743c3 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -499,11 +499,11 @@ func handleTransactions(backend Backend, msg Decoder, peer *Peer) error { for i, tx := range txs { // Validate and mark the remote transaction if tx == nil { - return fmt.Errorf("Transactions: transaction %d is nil", i) + return fmt.Errorf("transactions: transaction %d is nil", i) } hash := tx.Hash() if _, exists := seen[hash]; exists { - return fmt.Errorf("Transactions: multiple copies of the same hash %v", hash) + return fmt.Errorf("transactions: multiple copies of the same hash %v", hash) } seen[hash] = struct{}{} peer.markTransaction(hash)