Skip to content

Commit

Permalink
Merge pull request #86 from 'murisi/borsh-txid'
Browse files Browse the repository at this point in the history
  • Loading branch information
murisi committed Jun 28, 2024
2 parents 71b36be + 6e8df41 commit 8d83b17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion masp_primitives/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ pub type GrothProofBytes = [u8; GROTH_PROOF_SIZE];
const MASPV5_TX_VERSION: u32 = 2;
const MASPV5_VERSION_GROUP_ID: u32 = 0x26A7270A;

#[derive(Clone, Copy, PartialOrd, Ord, PartialEq, Eq, Hash)]
#[derive(
Clone, Copy, PartialOrd, Ord, PartialEq, Eq, Hash, BorshSerialize, BorshDeserialize, BorshSchema,
)]
pub struct TxId([u8; 32]);

memuse::impl_no_dynamic_usage!(TxId);
Expand Down

0 comments on commit 8d83b17

Please sign in to comment.