fix(transaction): tx iterator for block range (#2804)

This commit is contained in:
Roman Krasiuk
2023-05-24 11:51:53 +03:00
committed by GitHub
parent 69e792eb02
commit 7eaabeb0d4

View File

@@ -602,7 +602,7 @@ where
// If this is the case then all of the blocks in the range are empty
if last_transaction < first_transaction {
return Ok(Vec::new())
return Ok(block_bodies.into_iter().map(|(n, _)| (n, Vec::new())).collect())
}
// Get transactions and senders