Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jan 29, 2024
1 parent 3766e4d commit ed06555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/net/network/src/transactions/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,11 @@ mod test {
];
// first three or the same
let hashes = vec![
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafa") // removed dup
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafa") // dup
.unwrap(),
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafa") // removed dup
.unwrap(),
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafa") // dup
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafa") // removed dup
.unwrap(),
B256::from_str("0xbeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefcafebeefbbbb")
.unwrap(),
Expand All @@ -401,7 +401,7 @@ mod test {

let mut expected_data = HashMap::new();
expected_data.insert(hashes[3], Some((types[3], sizes[3])));
expected_data.insert(hashes[2], Some((types[2], sizes[2])));
expected_data.insert(hashes[0], Some((types[0], sizes[0])));

assert_eq!(expected_data, data,)
}
Expand Down

0 comments on commit ed06555

Please sign in to comment.