docs(core/txpool/legacypool): fix typos #28258#2126
docs(core/txpool/legacypool): fix typos #28258#2126gzliudan wants to merge 1 commit intoXinFinOrg:dev-upgradefrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR corrects a repeated typo in legacy txpool comments to improve readability and avoid misleading documentation in nonce/ready handling paths.
Changes:
- Fixes “into and invalid state” → “into an invalid state” in
Ready(...)documentation comments. - Applies the same typo correction consistently across normal, order, and lending tx list implementations.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| core/txpool/legacypool/order_tx_list.go | Fixes typo in Ready comment for order transaction list/sorted map. |
| core/txpool/legacypool/list.go | Fixes typo in Ready comment for standard transaction list/sorted map. |
| core/txpool/legacypool/lending_tx_list.go | Fixes typo in Ready comment for lending transaction list/sorted map. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
9a7d656 to
f52ab95
Compare
f52ab95 to
a3aaf87
Compare
Proposed changes
fix typos
Ref: ethereum#28258
Types of changes
What types of changes does your code introduce to XDC network?
Put an
✅in the boxes that applyImpacted Components
Which parts of the codebase does this PR touch?
Put an
✅in the boxes that applyChecklist
Put an
✅in the boxes once you have confirmed below actions (or provide reasons on not doing so) that