Skip to content

Commit

Permalink
Update core/tx_pool.go
Browse files Browse the repository at this point in the history
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
  • Loading branch information
omerfirmak and colinlyguo committed Aug 13, 2024
1 parent 4b0ebd1 commit 45ba630
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,6 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
rem = pool.chain.GetBlock(oldHead.Hash(), oldHead.Number.Uint64())
add = pool.chain.GetBlock(newHead.Hash(), newHead.Number.Uint64())
)

if rem == nil {
// This can happen if a setHead is performed, where we simply discard the old
// head from the chain.
Expand Down

0 comments on commit 45ba630

Please sign in to comment.