We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64f7f8 commit 531a122Copy full SHA for 531a122
rust/src/proofs/helpers.rs
@@ -48,7 +48,7 @@ pub unsafe fn to_public_replica_info_map(
48
let mut m = BTreeMap::new();
49
50
for i in 0..sector_ids.len() {
51
- m.insert(sector_ids[i], PublicReplicaInfo::new(comm_rs[i]));
+ m.insert(sector_ids[i], PublicReplicaInfo::new(comm_rs[i])?);
52
}
53
54
Ok(m)
0 commit comments