Skip to content

Commit

Permalink
do not add tx into the pool if a fatal error in the executor happens …
Browse files Browse the repository at this point in the history
…during pre execution
  • Loading branch information
ToniRamirezM committed Jul 26, 2023
1 parent 44356c8 commit 822858c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 822858c

Please sign in to comment.