From c5d7aad52bf85153009d5257cf8079e5c01dd3c8 Mon Sep 17 00:00:00 2001 From: Mateusz Morusiewicz <11313015+Ruteri@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:10:56 +0200 Subject: [PATCH] Cleans up debug logs --- core/txpool/txpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/txpool/txpool.go b/core/txpool/txpool.go index 7daa15cfcb..cbb8cc287a 100644 --- a/core/txpool/txpool.go +++ b/core/txpool/txpool.go @@ -640,7 +640,7 @@ func (pool *TxPool) validateTxBasics(tx *types.Transaction, local bool) error { } // Make sure the transaction is signed properly. if _, err := types.Sender(pool.signer, tx); err != nil { - return fmt.Errorf("ErrInvalidSender: %w", err) + return ErrInvalidSender } // Drop non-local transactions under our own minimal accepted gas price or tip if !local && tx.GasTipCapIntCmp(pool.gasPrice) < 0 {