From f70285d243328cb14e361d862e003e329181f266 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Sat, 5 Jun 2021 10:40:33 -0600 Subject: [PATCH] Fix error in transaction auth digest. Co-authored-by: str4d --- zcash_primitives/src/transaction/txid.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zcash_primitives/src/transaction/txid.rs b/zcash_primitives/src/transaction/txid.rs index e7d1ff5b2..464143947 100644 --- a/zcash_primitives/src/transaction/txid.rs +++ b/zcash_primitives/src/transaction/txid.rs @@ -518,6 +518,9 @@ impl TransactionDigest for BlockTxCommitmentDigester { if let Some(bundle) = sapling_bundle { for spend in &bundle.shielded_spends { h.write_all(&spend.zkproof).unwrap(); + } + + for spend in &bundle.shielded_spends { spend.spend_auth_sig.write(&mut h).unwrap(); }