Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kisakishy committed Aug 27, 2024
1 parent 5548eb7 commit 7593785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ pub async fn mpc(
for (w, gate) in circuit.wires().iter().enumerate() {
if let Wire::Input(_) | Wire::And(_, _) = gate {
let Some(share) = random_shares.next() else {
return Err(MpcError::MissingShareForWire(w).into());
return Err(MpcError::MissingPreprocessingShareForWire(w).into());
};
shares[w] = share;
if is_contrib {
Expand Down

0 comments on commit 7593785

Please sign in to comment.