Skip to content

Commit

Permalink
updated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLaux committed Oct 10, 2024
1 parent b2d7b18 commit 798630a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zcash_primitives/src/transaction/components/issuance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ pub fn write_v6_bundle<W: Write>(
mut writer: W,
) -> io::Result<()> {
if let Some(bundle) = bundle {
Vector::write_nonempty(&mut writer, bundle.actions(), |w, action| {
write_action(w, action)
})?;
Vector::write_nonempty(&mut writer, bundle.actions(), write_action)?;
writer.write_all(&bundle.ik().to_bytes())?;
writer.write_all(&<[u8; 64]>::from(bundle.authorization().signature()))?;
} else {
Expand Down

0 comments on commit 798630a

Please sign in to comment.