Skip to content

chore: rework transaction_priority_comparisons_should_be_consistent_nonce_diff() to avoid clippy allow #1583

@ethanoroshiba

Description

@ethanoroshiba

We can rework these assertions such that they are still very human-readable and remove the clippy allow:
#1561 (comment)

// allow: we want explicit assertions here to match the documented expected behavior.
#[allow(clippy::nonminimal_bool)]
fn transaction_priority_comparisons_should_be_consistent_nonce_diff() {

┆Issue Number: ENG-875

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions