Skip to content

Commit

Permalink
fix: allow shielded to transparent transfer (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 authored Jul 25, 2024
1 parent 46d31d6 commit b77848a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger-zcash/src/txbuilder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ impl Builder {

// avoid having a single output (from the change address) when there are no
// spends
let change_to_sapling = if !self.sapling_spends.is_empty() && !self.sapling_outputs.is_empty() {
let change_to_sapling = if !self.sapling_spends.is_empty() {
self.change_address
.clone()
.map(|(ovk, addr)| (Some(ovk), addr))
Expand Down

0 comments on commit b77848a

Please sign in to comment.