Skip to content

Commit

Permalink
feat: remove alignment from Ed25519SignatureOffsets struct (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
keyvankhademi authored Jan 24, 2025
1 parent 93fbbaa commit 70b3f35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const MESSAGE_SIZE_LEN: u16 = 2;
/// these fields that indicate the location of the signature data within data of other
/// instructions within the same transaction.
#[derive(Debug, Clone, Copy, Zeroable, Pod)]
#[repr(C)]
#[repr(C, packed)]
pub struct Ed25519SignatureOffsets {
/// Offset to the ed25519 signature within the instruction data.
pub signature_offset: u16,
Expand Down

0 comments on commit 70b3f35

Please sign in to comment.