From 809b9f5d6dda9ffc892badd8d4c8e304956a7c61 Mon Sep 17 00:00:00 2001 From: Felipe Rosa Date: Thu, 25 Jan 2024 08:44:24 -0300 Subject: [PATCH] feat(hardano): enable async for read_blocks_from_point iterator (#379) --- pallas-hardano/src/storage/immutable/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallas-hardano/src/storage/immutable/mod.rs b/pallas-hardano/src/storage/immutable/mod.rs index 3fd9ce1..361519b 100644 --- a/pallas-hardano/src/storage/immutable/mod.rs +++ b/pallas-hardano/src/storage/immutable/mod.rs @@ -200,7 +200,7 @@ pub fn read_blocks(dir: &Path) -> Result, st pub fn read_blocks_from_point( dir: &Path, point: Point, -) -> Result>, Box> { +) -> Result + Send + Sync>, Box> { let names = build_stack_of_chunk_names(dir)?; match point {