Skip to content

Commit 531a122

Browse files
fixup: fix type
1 parent d64f7f8 commit 531a122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/proofs/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub unsafe fn to_public_replica_info_map(
4848
let mut m = BTreeMap::new();
4949

5050
for i in 0..sector_ids.len() {
51-
m.insert(sector_ids[i], PublicReplicaInfo::new(comm_rs[i]));
51+
m.insert(sector_ids[i], PublicReplicaInfo::new(comm_rs[i])?);
5252
}
5353

5454
Ok(m)

0 commit comments

Comments
 (0)