From e203026c4dfb797a5d17167eba68e44cb965ea62 Mon Sep 17 00:00:00 2001 From: aodhgan Date: Wed, 15 Oct 2025 10:58:53 -0700 Subject: [PATCH] simplify deadline error --- internal/ethapi/api.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index a440256cb4..482971135b 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1702,11 +1702,6 @@ func (api *TransactionAPI) SendRawTransactionSync(ctx context.Context, input hex hash: hash, } } - // Otherwise, bubble the caller's context error (canceled or deadline). - if err := ctx.Err(); err != nil { - return nil, err - } - // Fallback: return the derived context's error. return nil, receiptCtx.Err() case err, ok := <-subErrCh: