From 2a4f27c937fbcbdb66163e1bb426ce1fcb5bc4f8 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 26 May 2023 09:28:01 -0600 Subject: [PATCH] Update `zcash_note_encryption` to remove unused arguments from parse_note_plaintext_without_memo_ovk. --- Cargo.toml | 1 + src/note_encryption.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 495e8a67..4105511d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,5 +92,6 @@ debug = true debug = true [patch.crates-io] +zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "be89e81534a9108b6ecb79fc7509b9adc32d14d6" } bridgetree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "62f0c9039b0bee94c16c40c272e19c5922290664" } incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "62f0c9039b0bee94c16c40c272e19c5922290664" } diff --git a/src/note_encryption.rs b/src/note_encryption.rs index 31a5a8be..dc0766f0 100644 --- a/src/note_encryption.rs +++ b/src/note_encryption.rs @@ -215,8 +215,6 @@ impl Domain for OrchardDomain { fn parse_note_plaintext_without_memo_ovk( &self, pk_d: &Self::DiversifiedTransmissionKey, - _esk: &Self::EphemeralSecretKey, - _ephemeral_key: &EphemeralKeyBytes, plaintext: &NotePlaintextBytes, ) -> Option<(Self::Note, Self::Recipient)> { orchard_parse_note_plaintext_without_memo(self, &plaintext.0, |_| *pk_d)