From 01aeaae3f83e22d9efd59b8cd0e633b00b9f1a52 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 30 Oct 2020 11:53:24 +1000 Subject: [PATCH] Placate rustfmt --- zebra-chain/src/work/difficulty/arbitrary.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zebra-chain/src/work/difficulty/arbitrary.rs b/zebra-chain/src/work/difficulty/arbitrary.rs index 4e06a4500..586ad83ea 100644 --- a/zebra-chain/src/work/difficulty/arbitrary.rs +++ b/zebra-chain/src/work/difficulty/arbitrary.rs @@ -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() }