Fix error in transaction auth digest.
Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
parent
371f84dc9b
commit
f70285d243
|
@ -518,6 +518,9 @@ impl TransactionDigest<Authorized> for BlockTxCommitmentDigester {
|
||||||
if let Some(bundle) = sapling_bundle {
|
if let Some(bundle) = sapling_bundle {
|
||||||
for spend in &bundle.shielded_spends {
|
for spend in &bundle.shielded_spends {
|
||||||
h.write_all(&spend.zkproof).unwrap();
|
h.write_all(&spend.zkproof).unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
|
for spend in &bundle.shielded_spends {
|
||||||
spend.spend_auth_sig.write(&mut h).unwrap();
|
spend.spend_auth_sig.write(&mut h).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue