Skip to content

Conversation

@hero5512
Copy link
Contributor

No description provided.

@fjl
Copy link
Contributor

fjl commented Jun 15, 2023

Care to explain?

@hero5512
Copy link
Contributor Author

Care to explain?
floatingRatio is a constant value and always is non-zero. so there is no need to check this value

@fjl
Copy link
Contributor

fjl commented Jun 15, 2023

Thanks! Please, if possible, explain your PRs in the description. It is expected and makes the review easier for us.

@fjl fjl changed the title core/txpool: rm redundant check floatingRatio == 0 core/txpool: remove edundant check for floatingRatio == 0 Jun 15, 2023
@fjl fjl changed the title core/txpool: remove edundant check for floatingRatio == 0 core/txpool: remove redundant check for floatingRatio == 0 Jun 15, 2023
@hero5512
Copy link
Contributor Author

Thanks! Please, if possible, explain your PRs in the description. It is expected and makes the review easier for us.

ok

@karalabe
Copy link
Member

Please don't merge until #27463 is in

@karalabe
Copy link
Member

Pls rebase, the txpool package was moved to core/txpool/legacypool.

@hero5512
Copy link
Contributor Author

Pls rebase, the txpool package was moved to core/txpool/legacypool.

done

@fjl fjl merged commit a71b9b9 into ethereum:master Jun 19, 2023
@fjl fjl added this to the 1.12.1 milestone Jun 19, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
…ethereum#27477)

floatingRatio is a constant and always non-zero. So there is no need to
check for == 0.
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
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.

4 participants