aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine/src/car.rs
diff options
context:
space:
mode:
Diffstat (limited to 'adenosine/src/car.rs')
-rw-r--r--adenosine/src/car.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/adenosine/src/car.rs b/adenosine/src/car.rs
index 22f83bc..67c97e9 100644
--- a/adenosine/src/car.rs
+++ b/adenosine/src/car.rs
@@ -95,6 +95,9 @@ async fn inner_car_bytes_reader(
for cid in cid_list {
let block = db.get_block(&cid)?.expect("block content");
car_writer.write(cid, block).await?;
+ // TODO: only load the first root CID from list; sometimes others are missing. should
+ // handle this better
+ break;
}
Ok(car_writer.finish().await?)
}