eth/protocols/eth: revert error msg change

This commit is contained in:
Gary Rong 2025-10-10 14:07:45 +08:00
parent dae4a86dc9
commit 49a7c24743

View file

@ -502,7 +502,7 @@ 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 {