Skip to content

Commit

Permalink
Merge/v0.2.1 into develop (#2334)
Browse files Browse the repository at this point in the history
* do not add tx to the pool in case err != nil

* do not add tx into the pool if a fatal error in the executor happens during pre execution
  • Loading branch information
ToniRamirezM authored Jul 27, 2023
1 parent 1794b72 commit 9295967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ 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.Debugf("PreExecuteTx error (this can be ignored): %v", err)
log.Errorf("Pre execution error: %v", err)
return err
}

if preExecutionResponse.isOOC {
Expand Down

0 comments on commit 9295967

Please sign in to comment.