Skip to content

Commit

Permalink
fix: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Jun 25, 2024
1 parent 5312a41 commit b99e226
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zero_bin/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ where
collected_hashes
.into_iter()
.flatten()
.filter(|(_, block_num)| block_num.is_some())
.for_each(|(hash, block_num)| {
if let (Some(hash), Some(block_num)) = (hash, block_num) {
// Most recent previous block hash is expected at the end of the array
Expand Down

0 comments on commit b99e226

Please sign in to comment.