Skip to content

Commit

Permalink
Tiny simplification.
Browse files Browse the repository at this point in the history
Signed-off-by: Daira-Emma Hopwood <[email protected]>
  • Loading branch information
daira committed Jun 29, 2024
1 parent 14bdcde commit 8636daa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zcash_client_backend/src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,7 @@ impl proposal::Proposal {
})
.collect::<Result<BTreeMap<usize, PoolType>, ProposalDecodingError<DbError>>>()?;

#[cfg(not(feature = "transparent-inputs"))]
let transparent_inputs = vec![];
#[cfg(feature = "transparent-inputs")]
#[allow(unused_mut)]
let mut transparent_inputs = vec![];
let mut received_notes = vec![];
let mut prior_step_inputs = vec![];
Expand Down

0 comments on commit 8636daa

Please sign in to comment.