summaryrefslogtreecommitdiffstats
path: root/adenosine/src/car.rs
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-04-10 00:38:50 -0700
committerbryan newbold <bnewbold@robocracy.org>2023-04-10 00:41:32 -0700
commit8130a0886a9058d4cd4e9f56526ea8d546a3a51d (patch)
tree51d4abb58fca2a25e2411a63ca6c02f19eb4682d /adenosine/src/car.rs
parent9e717955c2c2285a3811d7aee3b944850f38e5d1 (diff)
downloadadenosine-8130a0886a9058d4cd4e9f56526ea8d546a3a51d.tar.gz
adenosine-8130a0886a9058d4cd4e9f56526ea8d546a3a51d.zip
repov2: repro test not really working
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?)
}