Skip to content

Commit

Permalink
fix(ix-size): added note about deprecated MAX_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmedia committed Jan 30, 2023
1 parent 31c6bd7 commit 0fa2c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/squads-mpl/src/state/ms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ pub struct MsInstruction {

// map the incoming instruction to internal instruction schema
impl MsInstruction {
pub const MAXIMUM_SIZE: usize = 1280;
pub const MAXIMUM_SIZE: usize = 1280; // no longer used but kept for reference, was previously a client side limitation for sizing.

pub fn init(&mut self, instruction_index: u8, incoming_instruction: IncomingInstruction, bump: u8) -> Result<()> {
self.bump = bump;
Expand Down

0 comments on commit 0fa2c49

Please sign in to comment.