mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
clippy
This commit is contained in:
parent
9475f3f541
commit
a916b00758
2 changed files with 0 additions and 2 deletions
|
@ -269,7 +269,6 @@ pub fn get_block_complete_entry(
|
||||||
let first_tx_idx = miner_tx_idx + 1;
|
let first_tx_idx = miner_tx_idx + 1;
|
||||||
|
|
||||||
let tx_blobs = (first_tx_idx..(usize_to_u64(numb_non_miner_txs) + first_tx_idx))
|
let tx_blobs = (first_tx_idx..(usize_to_u64(numb_non_miner_txs) + first_tx_idx))
|
||||||
.into_iter()
|
|
||||||
.map(|idx| {
|
.map(|idx| {
|
||||||
let tx_blob = tables.tx_blobs().get(&idx)?.0;
|
let tx_blob = tables.tx_blobs().get(&idx)?.0;
|
||||||
|
|
||||||
|
|
|
@ -615,7 +615,6 @@ fn next_chain_entry(
|
||||||
let last_height_in_chain_entry = min(first_known_height + next_entry_size, chain_height);
|
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)
|
let (block_ids, block_weights) = (first_known_height..last_height_in_chain_entry)
|
||||||
.into_iter()
|
|
||||||
.map(|height| {
|
.map(|height| {
|
||||||
let block_info = table_block_infos.get(&height)?;
|
let block_info = table_block_infos.get(&height)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue