From a322a7c83e4c9d476368f06e88cbcad9e641f9d0 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 16 Jul 2024 16:23:18 +0200 Subject: [PATCH] test: flaky tx type test (#9542) --- crates/primitives/src/transaction/tx_type.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/primitives/src/transaction/tx_type.rs b/crates/primitives/src/transaction/tx_type.rs index 07483aa9a5..1f47f62b60 100644 --- a/crates/primitives/src/transaction/tx_type.rs +++ b/crates/primitives/src/transaction/tx_type.rs @@ -316,8 +316,7 @@ mod tests { assert_eq!(tx_type, TxType::Eip7702); // Test random byte not in range - let buf = [rand::thread_rng().gen_range(4..=u8::MAX)]; - println!("{buf:?}"); + let buf = [rand::thread_rng().gen_range(5..=u8::MAX)]; assert!(TxType::decode(&mut &buf[..]).is_err()); // Test for Deposit transaction