Tidy JoinSplit nullifiers deserialization

This commit is contained in:
Deirdre Connolly 2020-08-12 01:49:40 -04:00 committed by Deirdre Connolly
parent 6b13ce3e83
commit 5a5882700c
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ impl<P: ZkSnarkProof> ZcashDeserialize for JoinSplit<P> {
vpub_new: reader.read_u64::<LittleEndian>()?.try_into()?,
anchor: reader.read_32_bytes()?,
nullifiers: [
notes::sprout::Nullifier::from(reader.read_32_bytes()?),
notes::sprout::Nullifier::from(reader.read_32_bytes()?),
reader.read_32_bytes()?.into(),
reader.read_32_bytes()?.into(),
],
commitments: [
commitments::sprout::NoteCommitment::from(reader.read_32_bytes()?),