Skip to content

Commit c893f1d

Browse files
Zekun Lizekun000
authored andcommitted
[DKG] small cleanup
(cherry picked from commit d94a00f)
1 parent 5d0c0b2 commit c893f1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/aptos-dkg/src/weighted_vuf/pinkas

crates/aptos-dkg/src/weighted_vuf/pinkas/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl WeightedVUF for PinkasWUF {
136136
[&pks_combined, &pp.g_hat.neg()].into_iter(),
137137
) != Gt::identity()
138138
{
139-
panic!("RPKs were not correctly randomized.");
139+
bail!("RPKs were not correctly randomized.");
140140
}
141141

142142
Ok((delta, pk))

0 commit comments

Comments
 (0)