Run rustfmt

This commit is contained in:
Paul Hauner 2019-03-12 17:19:35 +11:00
parent fbfa233d36
commit 9057b436f3
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -48,10 +48,8 @@ impl AggregateSignature {
domain: u64,
aggregate_public_keys: &[&AggregatePublicKey],
) -> bool {
let aggregate_public_keys: Vec<&RawAggregatePublicKey> = aggregate_public_keys
.iter()
.map(|pk| pk.as_raw())
.collect();
let aggregate_public_keys: Vec<&RawAggregatePublicKey> =
aggregate_public_keys.iter().map(|pk| pk.as_raw()).collect();
// Messages are concatenated into one long message.
let mut msg: Vec<u8> = vec![];