@@ -9,21 +9,21 @@ pub struct InitializeFastMarketOrderAccounts<'ix> {
9
9
/// Lamports from this signer will be used to create the new fast market
10
10
/// order account. This account will be the only authority allowed to
11
11
/// close this account.
12
- /// TODO: Rename to "payer".
12
+ // TODO: Rename to "payer".
13
13
pub signer : & ' ix Pubkey ,
14
14
/// The fast market order account pubkey (that is created by the
15
15
/// instruction).
16
- /// TODO: Rename to "new_fast_market_order".
16
+ // TODO: Rename to "new_fast_market_order".
17
17
pub fast_market_order_account : & ' ix Pubkey ,
18
18
/// Wormhole guardian set account used to check recovered pubkeys using
19
19
/// [Self::guardian_set_signatures].
20
- /// TODO: Rename to "wormhole_guardian_set"
20
+ // TODO: Rename to "wormhole_guardian_set"
21
21
pub guardian_set : & ' ix Pubkey ,
22
22
/// The guardian set signatures of fast market order VAA.
23
- /// TODO: Rename to "shim_guardian_signatures".
23
+ // TODO: Rename to "shim_guardian_signatures".
24
24
pub guardian_set_signatures : & ' ix Pubkey ,
25
25
pub verify_vaa_shim_program : & ' ix Pubkey ,
26
- /// TODO: Remove.
26
+ // TODO: Remove.
27
27
pub system_program : & ' ix Pubkey ,
28
28
}
29
29
@@ -47,20 +47,6 @@ impl InitializeFastMarketOrderData {
47
47
_padding : Default :: default ( ) ,
48
48
}
49
49
}
50
-
51
- /// Deserializes the InitializeFastMarketOrderData from a byte slice.
52
- ///
53
- /// # Arguments
54
- ///
55
- /// * `data` - A byte slice containing the InitializeFastMarketOrderData.
56
- ///
57
- /// # Returns
58
- ///
59
- /// Option<&Self> - The deserialized `InitializeFastMarketOrderData`` or
60
- /// `None` if the byte slice is not the correct length.
61
- pub fn from_bytes ( data : & [ u8 ] ) -> Option < & Self > {
62
- bytemuck:: try_from_bytes ( data) . ok ( )
63
- }
64
50
}
65
51
66
52
/// Initializes the fast market order account.
0 commit comments