Skip to content

Commit d790d1c

Browse files
committed
fix alignment issue
1 parent 7258ea4 commit d790d1c

File tree

1 file changed

+1
-1
lines changed
  • lazer/contracts/solana/programs/pyth-lazer-solana-contract/src

1 file changed

+1
-1
lines changed

lazer/contracts/solana/programs/pyth-lazer-solana-contract/src/signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const MESSAGE_SIZE_LEN: u16 = 2;
2626
/// these fields that indicate the location of the signature data within data of other
2727
/// instructions within the same transaction.
2828
#[derive(Debug, Clone, Copy, Zeroable, Pod)]
29-
#[repr(C)]
29+
#[repr(C, packed)]
3030
pub struct Ed25519SignatureOffsets {
3131
/// Offset to the ed25519 signature within the instruction data.
3232
pub signature_offset: u16,

0 commit comments

Comments
 (0)