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 a0e96d5 commit 247d8dbCopy full SHA for 247d8db
pallets/drand/src/utils.rs
@@ -74,6 +74,6 @@ pub fn make_msm_args<Group: ark_ec::VariableBaseMSM>(
74
75
pub fn serialize_argument(argument: impl CanonicalSerialize) -> Vec<u8> {
76
let mut buf = vec![0; argument.serialized_size(Compress::No)];
77
- argument.serialize_uncompressed(buf.as_mut_slice()).unwrap();
+ argument.serialize_uncompressed(buf.as_mut_slice()).unwrap_or_default();
78
buf
79
}
0 commit comments