diff --git a/zcash_primitives/src/transaction/builder.rs b/zcash_primitives/src/transaction/builder.rs index 2c4db37f1..ae016adc0 100644 --- a/zcash_primitives/src/transaction/builder.rs +++ b/zcash_primitives/src/transaction/builder.rs @@ -277,12 +277,12 @@ impl<'a, P: consensus::Parameters, R: RngCore + CryptoRng> Builder<'a, P, R> { /// /// Returns an error if the given Merkle path does not have the required anchor for /// the given note. - pub fn add_orchard_spend( + pub fn add_orchard_spend( &mut self, sk: orchard::keys::SpendingKey, note: orchard::Note, merkle_path: orchard::tree::MerklePath, - ) -> Result<(), Error> { + ) -> Result<(), Error> { self.orchard_builder .as_mut() .ok_or(Error::OrchardAnchorNotAvailable)? @@ -296,13 +296,13 @@ impl<'a, P: consensus::Parameters, R: RngCore + CryptoRng> Builder<'a, P, R> { } /// Adds an Orchard recipient to the transaction. - pub fn add_orchard_output( + pub fn add_orchard_output( &mut self, ovk: Option, recipient: orchard::Address, value: u64, memo: MemoBytes, - ) -> Result<(), Error> { + ) -> Result<(), Error> { self.orchard_builder .as_mut() .ok_or(Error::OrchardAnchorNotAvailable)?