From 698f9620daefd9c994f3be636120410392df3982 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Sat, 17 Apr 2021 01:43:46 -0400 Subject: [PATCH] Clippy +nightly --- zebra-chain/src/orchard/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-chain/src/orchard/keys.rs b/zebra-chain/src/orchard/keys.rs index 4e367da3d..d475a7bbd 100644 --- a/zebra-chain/src/orchard/keys.rs +++ b/zebra-chain/src/orchard/keys.rs @@ -642,7 +642,7 @@ impl FromStr for FullViewingKey { impl FullViewingKey { /// [4.2.3]: https://zips.z.cash/protocol/protocol.pdf#orchardkeycomponents #[allow(non_snake_case)] - pub fn to_R(&self) -> [u8; 64] { + pub fn to_R(self) -> [u8; 64] { // let K = I2LEBSP_l_sk(rivk) let K: [u8; 32] = self.ivk_commit_randomness.into();