datasource/ethereum: remove extra assignment
@@ -791,8 +791,8 @@ where
let logger = logger.clone();
// Generate `EthereumBlockPointers` from `to` backwards to `from`
- let block_ptrs = self
- .block_hash_by_block_number(&logger, to)
+ Box::new(
+ self.block_hash_by_block_number(&logger, to)
.map(move |block_hash_opt| EthereumBlockPointer {
hash: block_hash_opt.unwrap(),
number: to,
@@ -819,8 +819,8 @@ where
.map(move |mut block_pointers| {
block_pointers.reverse();
block_pointers
- });
- Box::new(block_ptrs)
+ }),
+ )
}
fn blocks_with_logs(
