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)?;