From a916b0075856dc2761bdfedadcf7dda291230022 Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Wed, 18 Dec 2024 22:14:39 +0000 Subject: [PATCH] clippy --- storage/blockchain/src/ops/block.rs | 1 - storage/blockchain/src/service/read.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/storage/blockchain/src/ops/block.rs b/storage/blockchain/src/ops/block.rs index 347e3db..06c6692 100644 --- a/storage/blockchain/src/ops/block.rs +++ b/storage/blockchain/src/ops/block.rs @@ -269,7 +269,6 @@ pub fn get_block_complete_entry( let first_tx_idx = miner_tx_idx + 1; let tx_blobs = (first_tx_idx..(usize_to_u64(numb_non_miner_txs) + first_tx_idx)) - .into_iter() .map(|idx| { let tx_blob = tables.tx_blobs().get(&idx)?.0; diff --git a/storage/blockchain/src/service/read.rs b/storage/blockchain/src/service/read.rs index 09c8379..863f9ab 100644 --- a/storage/blockchain/src/service/read.rs +++ b/storage/blockchain/src/service/read.rs @@ -615,7 +615,6 @@ fn next_chain_entry( let last_height_in_chain_entry = min(first_known_height + next_entry_size, chain_height); let (block_ids, block_weights) = (first_known_height..last_height_in_chain_entry) - .into_iter() .map(|height| { let block_info = table_block_infos.get(&height)?;