cargo fmt

This commit is contained in:
Jack Grigg 2018-08-22 23:59:40 +01:00
parent 770c4bef25
commit 6671234ad1
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,8 @@ impl DiversifierKey {
let ff = FF1::<Aes256>::new(&self.0, 2).unwrap();
loop {
// Generate d_j
let enc = ff.encrypt(&[], &BinaryNumeralString::from_bytes_le(&j.0[..]))
let enc = ff
.encrypt(&[], &BinaryNumeralString::from_bytes_le(&j.0[..]))
.unwrap();
let mut d_j = [0; 11];
d_j.copy_from_slice(&enc.to_bytes_le());