Fix error in transaction auth digest.

Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
Kris Nuttycombe 2021-06-05 10:40:33 -06:00 committed by Kris Nuttycombe
parent 371f84dc9b
commit f70285d243
1 changed files with 3 additions and 0 deletions

View File

@ -518,6 +518,9 @@ impl TransactionDigest<Authorized> 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();
}