From aedb62a7324670bfbc387a94245170714190099d Mon Sep 17 00:00:00 2001 From: zancas Date: Sun, 20 Aug 2023 22:42:27 -0600 Subject: [PATCH] pass in recipients for zip317 fee calculation --- zingolib/src/wallet.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zingolib/src/wallet.rs b/zingolib/src/wallet.rs index 528d8d13ac..fc89577dec 100644 --- a/zingolib/src/wallet.rs +++ b/zingolib/src/wallet.rs @@ -952,6 +952,7 @@ impl LightWallet { orch_notes: &Vec, sapling_notes: &Vec, utxos: &Vec, + recipients: &Vec<(address::RecipientAddress, Amount, Option)>, ) -> u64 { todo!() } @@ -987,6 +988,7 @@ impl LightWallet { &orchard_notes, &sapling_notes, &utxos, + recipients, ); if value_to_cover + zip_317_fee <= value_covered { // The selected notes covered the send amount plus fee.