Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/types: fix test for TransactionsByPriceAndNonce #15275

Merged
merged 1 commit into from
Oct 13, 2017
Merged

core/types: fix test for TransactionsByPriceAndNonce #15275

merged 1 commit into from
Oct 13, 2017

Conversation

mcdee
Copy link
Contributor

@mcdee mcdee commented Oct 11, 2017

TestTransactionPriceNonceSort has a bad loop in it that means the test will pass regardless of the operation of NewTransactionsByPriceAndNonce. This fixes the loop so that it provides all of the transactions and hence a true test of the function.

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@karalabe karalabe added this to the 1.7.2 milestone Oct 13, 2017
@karalabe karalabe merged commit 0ed4d76 into ethereum:master Oct 13, 2017
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