-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sequencer): simplify boolean expressions in `transaction contai…
…ner` (#1595) ## Summary Simplified logical statements in `transaction_priority_comparisons_should_be_consistent_nonce_diff()`. ## Background Previously there was an allow for `clippy::nonminimal_bool`. The reasoning behind it was to match documented behavior. This change is meant to explicitly state the expected behavior while still simplifying the boolean expressions. This is in response to this comment: #1561 (comment) ## Changes - Simplified boolean expressions and moved the non-simplified versions to the comments where applicable to provide context on the documented behavior. ## Testing Passing all tests ## Related Issues closes #1583
- Loading branch information
1 parent
29a5d19
commit 6fdf4ea
Showing
1 changed file
with
18 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters