feat(hardano): enable async for read_blocks_from_point iterator (#379)
This commit is contained in:
parent
acdceb993f
commit
65360b954d
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(
|
pub fn read_blocks_from_point(
|
||||||
dir: &Path,
|
dir: &Path,
|
||||||
point: Point,
|
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)?;
|
let names = build_stack_of_chunk_names(dir)?;
|
||||||
|
|
||||||
match point {
|
match point {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue