Skip to content

Commit

Permalink
return in UpdateAstriaInvalid after creating new invalid transactions…
Browse files Browse the repository at this point in the history
… list
  • Loading branch information
bharath-123 committed May 9, 2024
1 parent 68a9138 commit 5dd4e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/txpool/legacypool/legacypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ func (pool *LegacyPool) SetAstriaOrdered(txs types.Transactions) {
func (pool *LegacyPool) UpdateAstriaInvalid(tx *types.Transaction) {
if pool.astria.invalid == nil {
pool.astria.invalid = types.Transactions{tx}
return
}

pool.astria.invalid = append(pool.astria.invalid, tx)
Expand Down

0 comments on commit 5dd4e44

Please sign in to comment.