@@ -21,13 +21,13 @@ pub const DATA_START: usize = SIGNATURE_OFFSETS_SERIALIZED_SIZE + SIGNATURE_OFFS
21
21
#[ derive( Default , Debug , Copy , Clone , Zeroable , Pod , Eq , PartialEq ) ]
22
22
#[ repr( C ) ]
23
23
pub struct Ed25519SignatureOffsets {
24
- signature_offset : u16 , // offset to ed25519 signature of 64 bytes
25
- signature_instruction_index : u16 , // instruction index to find signature
26
- public_key_offset : u16 , // offset to public key of 32 bytes
27
- public_key_instruction_index : u16 , // instruction index to find public key
28
- message_data_offset : u16 , // offset to start of message data
29
- message_data_size : u16 , // size of message data
30
- message_instruction_index : u16 , // index of instruction data to get message data
24
+ pub signature_offset : u16 , // offset to ed25519 signature of 64 bytes
25
+ pub signature_instruction_index : u16 , // instruction index to find signature
26
+ pub public_key_offset : u16 , // offset to public key of 32 bytes
27
+ pub public_key_instruction_index : u16 , // instruction index to find public key
28
+ pub message_data_offset : u16 , // offset to start of message data
29
+ pub message_data_size : u16 , // size of message data
30
+ pub message_instruction_index : u16 , // index of instruction data to get message data
31
31
}
32
32
33
33
/// Encode just the signature offsets in a single ed25519 instruction.
0 commit comments