From 822858ce0dc75e8df236466077590b1f913694f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Ram=C3=ADrez?= Date: Wed, 26 Jul 2023 21:02:03 +0200 Subject: [PATCH] do not add tx into the pool if a fatal error in the executor happens during pre execution --- pool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/pool.go b/pool/pool.go index 640f1bde41..32b44b77c7 100644 --- a/pool/pool.go +++ b/pool/pool.go @@ -175,7 +175,7 @@ func (p *Pool) StoreTx(ctx context.Context, tx types.Transaction, ip string, isW // Do not add tx to the pool return err } else if err != nil { - log.Errorf("PreExecuteTx error: %v", err) + log.Errorf("Pre execution error: %v", err) return err }