Tidy JoinSplit nullifiers deserialization
This commit is contained in:
parent
6b13ce3e83
commit
5a5882700c
|
|
@ -264,8 +264,8 @@ impl<P: ZkSnarkProof> ZcashDeserialize for JoinSplit<P> {
|
||||||
vpub_new: reader.read_u64::<LittleEndian>()?.try_into()?,
|
vpub_new: reader.read_u64::<LittleEndian>()?.try_into()?,
|
||||||
anchor: reader.read_32_bytes()?,
|
anchor: reader.read_32_bytes()?,
|
||||||
nullifiers: [
|
nullifiers: [
|
||||||
notes::sprout::Nullifier::from(reader.read_32_bytes()?),
|
reader.read_32_bytes()?.into(),
|
||||||
notes::sprout::Nullifier::from(reader.read_32_bytes()?),
|
reader.read_32_bytes()?.into(),
|
||||||
],
|
],
|
||||||
commitments: [
|
commitments: [
|
||||||
commitments::sprout::NoteCommitment::from(reader.read_32_bytes()?),
|
commitments::sprout::NoteCommitment::from(reader.read_32_bytes()?),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue