Skip to content

Commit

Permalink
fix: allow shielded to transparent transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Jul 25, 2024
1 parent febfcf7 commit 00c1427
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 @@ -398,7 +398,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() {
if !self.sapling_spends.is_empty() {
self.change_address
.clone()
.map(|(ovk, addr)| (Some(ovk), addr))
Expand Down

0 comments on commit 00c1427

Please sign in to comment.