From 41b3be7ad00fd65b38a5b55376cb2554f483348b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 17 Apr 2020 21:06:40 -0400 Subject: [PATCH] Fix new rustc warnings for unnecessary parenthesis --- lightning/src/chain/keysinterface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/chain/keysinterface.rs b/lightning/src/chain/keysinterface.rs index 58bdd7226..fb163966f 100644 --- a/lightning/src/chain/keysinterface.rs +++ b/lightning/src/chain/keysinterface.rs @@ -620,6 +620,6 @@ impl KeysInterface for KeysManager { let child_privkey = self.channel_id_master_key.ckd_priv(&self.secp_ctx, ChildNumber::from_hardened_idx(child_ix as u32).expect("key space exhausted")).expect("Your RNG is busted"); sha.input(&child_privkey.private_key.key[..]); - (Sha256::from_engine(sha).into_inner()) + Sha256::from_engine(sha).into_inner() } } -- 2.39.5