Skip to content

fix(txpool): remove double PopWorst() in pending pool overflow#18132

Merged
AskAlexSharov merged 1 commit into
erigontech:mainfrom
Bilogweb3:fix/txpool-double-pop
Dec 4, 2025
Merged

fix(txpool): remove double PopWorst() in pending pool overflow#18132
AskAlexSharov merged 1 commit into
erigontech:mainfrom
Bilogweb3:fix/txpool-double-pop

Conversation

@Bilogweb3

Copy link
Copy Markdown
Contributor

PopWorst() called twice per loop iteration when pending pool exceeds limit.
First tx leaks, second gets discarded. Copy-paste mistake from diagnostics commit 53dc6c7 - baseFee and queued were fixed to use tx variable, pending was missed.

@AskAlexSharov AskAlexSharov merged commit 624d847 into erigontech:main Dec 4, 2025
16 checks passed
AskAlexSharov pushed a commit that referenced this pull request Dec 4, 2025
PopWorst() called twice per loop iteration when pending pool exceeds
limit.
First tx leaks, second gets discarded. Copy-paste mistake from
diagnostics commit 53dc6c7 - baseFee and queued were fixed to use tx
variable, pending was missed.
AskAlexSharov added a commit that referenced this pull request Dec 4, 2025
pick #18132

Co-authored-by: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants