Skip to content

Commit

Permalink
chore: clippy happy (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jul 29, 2024
1 parent be96ae6 commit 2ecb2e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/consensus/src/transaction/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ impl OpTxType {
impl<'a> arbitrary::Arbitrary<'a> for OpTxType {
fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result<Self> {
let i = u.choose_index(OpTxType::ALL.len())?;
let tx_ty = OpTxType::ALL[i];
Ok(OpTxType::try_from(tx_ty).unwrap())
Ok(OpTxType::ALL[i])
}
}

Expand Down

0 comments on commit 2ecb2e5

Please sign in to comment.