feat(hardano): enable async for read_blocks_from_point iterator (#379)
This commit is contained in:
parent
24b5086b4e
commit
809b9f5d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ pub fn read_blocks(dir: &Path) -> Result<impl Iterator<Item = FallibleBlock>, st
|
|||
pub fn read_blocks_from_point(
|
||||
dir: &Path,
|
||||
point: Point,
|
||||
) -> Result<Box<dyn Iterator<Item = FallibleBlock>>, Box<dyn std::error::Error>> {
|
||||
) -> Result<Box<dyn Iterator<Item = FallibleBlock> + Send + Sync>, Box<dyn std::error::Error>> {
|
||||
let names = build_stack_of_chunk_names(dir)?;
|
||||
|
||||
match point {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue