From 76ad66a1f15c5237be20eef74ce49def6588a5ee Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Fri, 19 Dec 2025 12:11:02 +0100 Subject: [PATCH] better error message Signed-off-by: Csaba Kiraly --- eth/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/handler.go b/eth/handler.go index 6c9d267cea..8a7b3a581c 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -185,7 +185,7 @@ func newHandler(config *handlerConfig) (*handler, error) { } // check on chain as well (no need to check limbo separately, as chain checks limbo too) if h.chain.HasCanonicalTransaction(hash, true) { - return txpool.ErrAlreadyKnown + return core.ErrNonceTooLow } if !h.txpool.FilterType(kind) { return types.ErrTxTypeNotSupported