Placate rustfmt

This commit is contained in:
teor 2020-10-30 11:53:24 +10:00 committed by Henry de Valence
parent f37f48918b
commit 01aeaae3f8
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@ impl Arbitrary for CompactDifficulty {
// In the Zcash protocol, a CompactDifficulty is generated using the difficulty
// adjustment functions. Instead of using those functions, we make a random
// ExpandedDifficulty, then convert it to a CompactDifficulty.
Some(ExpandedDifficulty::from_hash(&block::Hash(bytes))
.to_compact())
Some(ExpandedDifficulty::from_hash(&block::Hash(bytes)).to_compact())
})
.boxed()
}