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 44a34a8 commit 80a0001Copy full SHA for 80a0001
pallets/drand/src/utils.rs
@@ -74,6 +74,8 @@ 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_or_default();
+ argument
78
+ .serialize_uncompressed(buf.as_mut_slice())
79
+ .unwrap_or_default();
80
buf
81
}
0 commit comments